diff --git a/src/fileio/CParser.cpp b/src/fileio/CParser.cpp index c717d8de8..c7511b46b 100644 --- a/src/fileio/CParser.cpp +++ b/src/fileio/CParser.cpp @@ -83,7 +83,7 @@ bool CParser::saveParseFile(void) // open, write on the file and close if((fp=fopen(CONFIGFILENAME,"wt"))) { - list::iterator i; + std::list::iterator i; for(i=m_filebuffer.begin() ; i != m_filebuffer.end() ; ++i ) fprintf(fp,"%s",*i); @@ -104,7 +104,7 @@ bool CParser::saveParseFile(void) // open, write on the file and close int CParser::getIntValue(const char *keyword, const char *category) { // The getter will search for category and than for keyword. After that, read the value and return it! - list::iterator i; + std::list::iterator i; char *line; @@ -152,7 +152,7 @@ void CParser::saveIntValue(const char *keyword, const char *category,int value) // 2.- category exists, but keyword not // 3.- category and keyword exist, only the value must be changed - list::iterator i; + std::list::iterator i; char *line; diff --git a/src/fileio/CParser.h b/src/fileio/CParser.h index 3d460fcfd..2d157bf3b 100644 --- a/src/fileio/CParser.h +++ b/src/fileio/CParser.h @@ -10,7 +10,6 @@ #include #include -using namespace std; class CParser { @@ -43,7 +42,7 @@ public: private: bool m_isOpen; - list m_filebuffer; + std::list m_filebuffer; };