diff options
author | Stephen Kelly <steveire@gmail.com> | 2016-10-08 10:21:35 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2016-10-10 18:38:53 (GMT) |
commit | 2e5d1990f382aa42e8a0ad34117ee1e5a9187153 (patch) | |
tree | dba4b15ee93a3b2c34f47345214a8c38278009f7 /Source/cmGlobalNinjaGenerator.h | |
parent | b3701f9a5213f2ff5b2bc197e9af5d1f2ff68a9c (diff) | |
download | CMake-2e5d1990f382aa42e8a0ad34117ee1e5a9187153.zip CMake-2e5d1990f382aa42e8a0ad34117ee1e5a9187153.tar.gz CMake-2e5d1990f382aa42e8a0ad34117ee1e5a9187153.tar.bz2 |
Ninja: Constify
Diffstat (limited to 'Source/cmGlobalNinjaGenerator.h')
-rw-r--r-- | Source/cmGlobalNinjaGenerator.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGlobalNinjaGenerator.h b/Source/cmGlobalNinjaGenerator.h index dcf7406..5064b21 100644 --- a/Source/cmGlobalNinjaGenerator.h +++ b/Source/cmGlobalNinjaGenerator.h @@ -233,7 +233,7 @@ public: return this->RulesFileStream; } - std::string ConvertToNinjaPath(const std::string& path); + std::string ConvertToNinjaPath(const std::string& path) const; std::string ConvertToNinjaFolderRule(const std::string& path); struct MapToNinjaPathImpl @@ -333,7 +333,7 @@ public: bool SupportsConsolePool() const; bool SupportsImplicitOuts() const; - std::string NinjaOutputPath(std::string const& path); + std::string NinjaOutputPath(std::string const& path) const; bool HasOutputPathPrefix() const { return !this->OutputPathPrefix.empty(); } void StripNinjaOutputPathPrefixAsSuffix(std::string& path); |