Fix constness of accessors.
This commit is contained in:
parent
7e707444be
commit
98a672528d
|
@ -153,7 +153,7 @@ bool cmGeneratorExpressionDAGChecker::EvaluatingLinkLibraries()
|
||||||
}
|
}
|
||||||
|
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
bool cmGeneratorExpressionDAGChecker::EvaluatingIncludeDirectories()
|
bool cmGeneratorExpressionDAGChecker::EvaluatingIncludeDirectories() const
|
||||||
{
|
{
|
||||||
const char *prop = this->Property.c_str();
|
const char *prop = this->Property.c_str();
|
||||||
return (strcmp(prop, "INCLUDE_DIRECTORIES") == 0
|
return (strcmp(prop, "INCLUDE_DIRECTORIES") == 0
|
||||||
|
@ -161,7 +161,7 @@ bool cmGeneratorExpressionDAGChecker::EvaluatingIncludeDirectories()
|
||||||
}
|
}
|
||||||
|
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
bool cmGeneratorExpressionDAGChecker::EvaluatingCompileDefinitions()
|
bool cmGeneratorExpressionDAGChecker::EvaluatingCompileDefinitions() const
|
||||||
{
|
{
|
||||||
const char *prop = this->Property.c_str();
|
const char *prop = this->Property.c_str();
|
||||||
return (strcmp(prop, "COMPILE_DEFINITIONS") == 0
|
return (strcmp(prop, "COMPILE_DEFINITIONS") == 0
|
||||||
|
|
|
@ -38,8 +38,8 @@ struct cmGeneratorExpressionDAGChecker
|
||||||
const std::string &expr);
|
const std::string &expr);
|
||||||
|
|
||||||
bool EvaluatingLinkLibraries();
|
bool EvaluatingLinkLibraries();
|
||||||
bool EvaluatingIncludeDirectories();
|
bool EvaluatingIncludeDirectories() const;
|
||||||
bool EvaluatingCompileDefinitions();
|
bool EvaluatingCompileDefinitions() const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Result checkGraph() const;
|
Result checkGraph() const;
|
||||||
|
|
Loading…
Reference in New Issue