diff options
author | Stijn Buys <ingar@osirion.org> | 2009-02-08 17:07:38 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2009-02-08 17:07:38 +0000 |
commit | 1b9d5b37412e43ea80180c00bff853f56aeadc60 (patch) | |
tree | 3b98e045d7ada77a1cf85b24a4e66e95b9f5ccb1 /src | |
parent | 8fc0466ab9bfa52d37be4cde7f82048054ef5575 (diff) |
IniFile::is_open() and IniFile::good() can not be const
Diffstat (limited to 'src')
-rw-r--r-- | src/filesystem/inifile.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/filesystem/inifile.h b/src/filesystem/inifile.h index 09f6ebb..fa2d81f 100644 --- a/src/filesystem/inifile.h +++ b/src/filesystem/inifile.h @@ -97,10 +97,10 @@ public: void unknown_section() const; /// return true of the ini file is open for reading - inline bool is_open() const { return inifile_stream.is_open(); } + inline bool is_open() { return inifile_stream.is_open(); } /// return true of the ini file is open for reading - inline bool good() const { return inifile_stream.good(); } + inline bool good() { return inifile_stream.good(); } /// current name in the virtual filesystem inline std::string const & name() const {return inifile_stream.name(); } |