summaryrefslogtreecommitdiff
path: root/src/Resource.h
diff options
context:
space:
mode:
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);
}