summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-09-14 15:49:24 (GMT)
committerBrad King <brad.king@kitware.com>2016-09-14 15:49:24 (GMT)
commitcc770e7670800819231ac428b75d8fc87a229116 (patch)
tree40f76bf2c20b0ae906d6014f284bbe63aec85590 /Source/cmake.cxx
parentea69e03afaeff76d2141ab4a330f3489297a3a41 (diff)
downloadCMake-cc770e7670800819231ac428b75d8fc87a229116.zip
CMake-cc770e7670800819231ac428b75d8fc87a229116.tar.gz
CMake-cc770e7670800819231ac428b75d8fc87a229116.tar.bz2
cmake: Make FindCacheFile a static method
It does not need access to member data.
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r--Source/cmake.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index 0d61a3d..18a7894 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -1046,7 +1046,7 @@ const char* cmake::GetHomeOutputDirectory() const
return this->State->GetBinaryDirectory();
}
-std::string cmake::FindCacheFile(const std::string& binaryDir) const
+std::string cmake::FindCacheFile(const std::string& binaryDir)
{
std::string cachePath = binaryDir;
cmSystemTools::ConvertToUnixSlashes(cachePath);