diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-04-11 05:05:48 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-04-11 05:05:48 +0000 |
| commit | 17ef2638592a4be20fb2b41e045c4ee51196271e (patch) | |
| tree | 25770c661667d69738ccfe39552fbc8b893a2b02 /src/Resource.h | |
| parent | 3da13c168283b7192910af28c417a166dd317eba (diff) | |
load_rc() now uses the obResource class to load its configuration
Diffstat (limited to 'src/Resource.h')
| -rw-r--r-- | src/Resource.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Resource.h b/src/Resource.h index 90b86d31..da9a4d5c 100644 --- a/src/Resource.h +++ b/src/Resource.h @@ -30,9 +30,10 @@ class obResource { public: obResource(const std::string &file); + obResource(); virtual ~obResource(); - // an empty string is an invalid value for the file and will cause an assert + // an empty string will cause an assert if load() or save() is called inline const std::string &file() const { return static_cast<const std::string &>(m_file); } |
