diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-11-18 15:11:10 +0100 |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2013-11-19 18:07:04 +0100 |
commit | 0f876439e941c18f7fc264fbf02f5df9bc531f90 (patch) | |
tree | a46dad0a7706c61475dd0306c045d59f70f2d3c3 | |
parent | 1da77bf1ee4f3ba315ebb00da2eaeac474614cad (diff) | |
download | cmake-0f876439e941c18f7fc264fbf02f5df9bc531f90.tar.gz |
cmGeneratorTarget: Make GetIncludeDirectories const.
-rw-r--r-- | Source/cmGeneratorTarget.cxx | 4 | ||||
-rw-r--r-- | Source/cmGeneratorTarget.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx index b964f71e63..011fc6cc54 100644 --- a/Source/cmGeneratorTarget.cxx +++ b/Source/cmGeneratorTarget.cxx @@ -611,8 +611,8 @@ const char* cmGeneratorTarget::GetCreateRuleVariable() const } //---------------------------------------------------------------------------- -std::vector<std::string> cmGeneratorTarget::GetIncludeDirectories( - const char *config) +std::vector<std::string> +cmGeneratorTarget::GetIncludeDirectories(const char *config) const { return this->Target->GetIncludeDirectories(config); } diff --git a/Source/cmGeneratorTarget.h b/Source/cmGeneratorTarget.h index 177bc2561a..69d1bb2f16 100644 --- a/Source/cmGeneratorTarget.h +++ b/Source/cmGeneratorTarget.h @@ -70,7 +70,7 @@ public: const char* GetCreateRuleVariable() const; /** Get the include directories for this target. */ - std::vector<std::string> GetIncludeDirectories(const char *config); + std::vector<std::string> GetIncludeDirectories(const char *config) const; bool IsSystemIncludeDirectory(const char *dir, const char *config) const; |