From 1b9d5b37412e43ea80180c00bff853f56aeadc60 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 8 Feb 2009 17:07:38 +0000 Subject: IniFile::is_open() and IniFile::good() can not be const --- src/filesystem/inifile.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/filesystem') 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(); } -- cgit v1.2.3