cmMakefile: Make ConfigureString const.
This commit is contained in:
parent
bf1e1bf1d0
commit
bde0dab15d
|
@ -3371,7 +3371,7 @@ std::string cmMakefile::GetModulesFile(const char* filename) const
|
||||||
|
|
||||||
void cmMakefile::ConfigureString(const std::string& input,
|
void cmMakefile::ConfigureString(const std::string& input,
|
||||||
std::string& output, bool atOnly,
|
std::string& output, bool atOnly,
|
||||||
bool escapeQuotes)
|
bool escapeQuotes) const
|
||||||
{
|
{
|
||||||
// Split input to handle one line at a time.
|
// Split input to handle one line at a time.
|
||||||
std::string::const_iterator lineStart = input.begin();
|
std::string::const_iterator lineStart = input.begin();
|
||||||
|
|
|
@ -692,7 +692,7 @@ public:
|
||||||
* See cmConfigureFileCommand for details.
|
* See cmConfigureFileCommand for details.
|
||||||
*/
|
*/
|
||||||
void ConfigureString(const std::string& input, std::string& output,
|
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
|
* Copy file but change lines acording to ConfigureString
|
||||||
|
@ -968,8 +968,8 @@ private:
|
||||||
|
|
||||||
std::map<cmStdString, bool> SubDirectoryOrder;
|
std::map<cmStdString, bool> SubDirectoryOrder;
|
||||||
|
|
||||||
cmsys::RegularExpression cmDefineRegex;
|
mutable cmsys::RegularExpression cmDefineRegex;
|
||||||
cmsys::RegularExpression cmDefine01Regex;
|
mutable cmsys::RegularExpression cmDefine01Regex;
|
||||||
mutable cmsys::RegularExpression cmAtVarRegex;
|
mutable cmsys::RegularExpression cmAtVarRegex;
|
||||||
|
|
||||||
cmPropertyMap Properties;
|
cmPropertyMap Properties;
|
||||||
|
|
Loading…
Reference in New Issue