cmMakefile: Make ConfigureString const.

This commit is contained in:
Stephen Kelly 2014-01-22 16:33:56 +01:00
parent bf1e1bf1d0
commit bde0dab15d
2 changed files with 4 additions and 4 deletions

View File

@ -3371,7 +3371,7 @@ std::string cmMakefile::GetModulesFile(const char* filename) const
void cmMakefile::ConfigureString(const std::string& input,
std::string& output, bool atOnly,
bool escapeQuotes)
bool escapeQuotes) const
{
// Split input to handle one line at a time.
std::string::const_iterator lineStart = input.begin();

View File

@ -692,7 +692,7 @@ public:
* See cmConfigureFileCommand for details.
*/
void ConfigureString(const std::string& input, std::string& output,
bool atOnly, bool escapeQuotes);
bool atOnly, bool escapeQuotes) const;
/**
* Copy file but change lines acording to ConfigureString
@ -968,8 +968,8 @@ private:
std::map<cmStdString, bool> SubDirectoryOrder;
cmsys::RegularExpression cmDefineRegex;
cmsys::RegularExpression cmDefine01Regex;
mutable cmsys::RegularExpression cmDefineRegex;
mutable cmsys::RegularExpression cmDefine01Regex;
mutable cmsys::RegularExpression cmAtVarRegex;
cmPropertyMap Properties;