Preprocessor: Made function static after self-check suggestion

This commit is contained in:
Daniel Marjamäki 2012-09-01 10:32:27 +02:00
parent 15bc552b37
commit 769cd4503d
2 changed files with 2 additions and 2 deletions

View File

@ -210,7 +210,7 @@ std::string Preprocessor::read(std::istream &istr, const std::string &filename)
return result; return result;
} }
std::string Preprocessor::preprocessCleanupDirectives(const std::string &processedFile) const std::string Preprocessor::preprocessCleanupDirectives(const std::string &processedFile)
{ {
std::ostringstream code; std::ostringstream code;
std::istringstream sstr(processedFile); std::istringstream sstr(processedFile);

View File

@ -183,7 +183,7 @@ protected:
* clean up #-preprocessor lines (only) * clean up #-preprocessor lines (only)
* @param processedFile The data to be processed * @param processedFile The data to be processed
*/ */
std::string preprocessCleanupDirectives(const std::string &processedFile) const; static std::string preprocessCleanupDirectives(const std::string &processedFile);
/** /**
* Returns the string between double quote characters or \< \> characters. * Returns the string between double quote characters or \< \> characters.