diff --git a/src/config/configfile.cpp b/src/config/configfile.cpp index c13ffe34..e482b34e 100644 --- a/src/config/configfile.cpp +++ b/src/config/configfile.cpp @@ -232,7 +232,7 @@ ConfigFile::~ConfigFile() void ConfigFile::fillBuffer() { - boost::mutex::scoped_lock lock(m_configMutex); + boost::mutex::scoped_lock lock(m_configMutex); size_t i; string tempString(""); @@ -261,7 +261,7 @@ void ConfigFile::fillBuffer() { void ConfigFile::writeBuffer() const { - boost::mutex::scoped_lock lock(m_configMutex); + boost::mutex::scoped_lock lock(m_configMutex); //write buffer to disc if enabled if(!noWriteAccess) { @@ -290,7 +290,7 @@ void ConfigFile::writeBuffer() const { void ConfigFile::updateConfig(ConfigState myConfigState) { - boost::mutex::scoped_lock lock(m_configMutex); + boost::mutex::scoped_lock lock(m_configMutex); size_t i; @@ -377,7 +377,7 @@ void ConfigFile::updateConfig(ConfigState myConfigState) { string ConfigFile::readConfigString(string varName) const { - boost::mutex::scoped_lock lock(m_configMutex); + boost::mutex::scoped_lock lock(m_configMutex); size_t i; string tempString(""); @@ -414,7 +414,7 @@ string ConfigFile::readConfigString(string varName) const int ConfigFile::readConfigInt(string varName) const { - boost::mutex::scoped_lock lock(m_configMutex); + boost::mutex::scoped_lock lock(m_configMutex); size_t i; string tempString(""); @@ -460,7 +460,7 @@ int ConfigFile::readConfigInt(string varName) const void ConfigFile::writeConfigInt(string varName, int varCont) { - boost::mutex::scoped_lock lock(m_configMutex); + boost::mutex::scoped_lock lock(m_configMutex); size_t i; string tempString; @@ -477,7 +477,7 @@ void ConfigFile::writeConfigInt(string varName, int varCont) void ConfigFile::writeConfigString(string varName, string varCont) { - boost::mutex::scoped_lock lock(m_configMutex); + boost::mutex::scoped_lock lock(m_configMutex); size_t i; for (i=0; i #include -#include +#include enum ConfigState { NONEXISTING, OLD }; enum ConfigType { CONFIG_TYPE_INT, CONFIG_TYPE_STRING }; @@ -51,7 +51,7 @@ public: private: - mutable boost::mutex m_configMutex; + mutable boost::mutex m_configMutex; struct ConfigInfo {