summaryrefslogtreecommitdiffstats
path: root/Source/cmFilePathChecksum.h
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2017-02-14 23:00:51 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2017-02-19 11:35:42 (GMT)
commit2296a2e9ee04fc83a294d51421038dca40b3150f (patch)
tree185349a4b435572a2b81b56363dcdcc29800cbeb /Source/cmFilePathChecksum.h
parentd3a9887149d638dd23df2b46ff67a90cd91d33fe (diff)
downloadCMake-2296a2e9ee04fc83a294d51421038dca40b3150f.zip
CMake-2296a2e9ee04fc83a294d51421038dca40b3150f.tar.gz
CMake-2296a2e9ee04fc83a294d51421038dca40b3150f.tar.bz2
cmFilePathChecksum: Make methods const useable
Diffstat (limited to 'Source/cmFilePathChecksum.h')
-rw-r--r--Source/cmFilePathChecksum.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmFilePathChecksum.h b/Source/cmFilePathChecksum.h
index df19053..59ca34c 100644
--- a/Source/cmFilePathChecksum.h
+++ b/Source/cmFilePathChecksum.h
@@ -47,13 +47,13 @@ public:
/* @brief Calculates the path checksum for the parent directory of a file
*
*/
- std::string get(const std::string& filePath);
+ std::string get(const std::string& filePath) const;
/* @brief Same as get() but returns only the first length characters
*
*/
std::string getPart(const std::string& filePath,
- size_t length = partLengthDefault);
+ size_t length = partLengthDefault) const;
private:
/// Size of the parent directory list