Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2009-02-08 17:07:38 +0000
committerStijn Buys <ingar@osirion.org>2009-02-08 17:07:38 +0000
commit1b9d5b37412e43ea80180c00bff853f56aeadc60 (patch)
tree3b98e045d7ada77a1cf85b24a4e66e95b9f5ccb1 /src/filesystem
parent8fc0466ab9bfa52d37be4cde7f82048054ef5575 (diff)
IniFile::is_open() and IniFile::good() can not be const
Diffstat (limited to 'src/filesystem')
-rw-r--r--src/filesystem/inifile.h4
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(); }