summaryrefslogtreecommitdiff
path: root/src/Resource.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2002-04-11 05:05:48 +0000
committerDana Jansens <danakj@orodu.net>2002-04-11 05:05:48 +0000
commit17ef2638592a4be20fb2b41e045c4ee51196271e (patch)
tree25770c661667d69738ccfe39552fbc8b893a2b02 /src/Resource.h
parent3da13c168283b7192910af28c417a166dd317eba (diff)
load_rc() now uses the obResource class to load its configuration
Diffstat (limited to 'src/Resource.h')
-rw-r--r--src/Resource.h3
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);
}