Preprocessor: Made function static after self-check suggestion
This commit is contained in:
parent
15bc552b37
commit
769cd4503d
|
@ -210,7 +210,7 @@ std::string Preprocessor::read(std::istream &istr, const std::string &filename)
|
|||
return result;
|
||||
}
|
||||
|
||||
std::string Preprocessor::preprocessCleanupDirectives(const std::string &processedFile) const
|
||||
std::string Preprocessor::preprocessCleanupDirectives(const std::string &processedFile)
|
||||
{
|
||||
std::ostringstream code;
|
||||
std::istringstream sstr(processedFile);
|
||||
|
|
|
@ -183,7 +183,7 @@ protected:
|
|||
* clean up #-preprocessor lines (only)
|
||||
* @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.
|
||||
|
|
Loading…
Reference in New Issue