summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestBuildHandler.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-01-16 18:51:23 (GMT)
committerBrad King <brad.king@kitware.com>2017-01-16 18:52:17 (GMT)
commitf38644527cee6d99b48930bf88e84de15d98007b (patch)
tree532cde1470222e72b2b4b4e972161b9047832d14 /Source/CTest/cmCTestBuildHandler.cxx
parent35ad12f99e71515f9cc65b1219160b88095a5f6b (diff)
downloadCMake-f38644527cee6d99b48930bf88e84de15d98007b.zip
CMake-f38644527cee6d99b48930bf88e84de15d98007b.tar.gz
CMake-f38644527cee6d99b48930bf88e84de15d98007b.tar.bz2
cmCTestBuildHandler: Fix warning in FragmentCompare signature
``` warning: the specified comparator type does not provide a const call operator [-Wuser-defined-warnings] ``` Reported-by: Sean McBride <sean@rogue-research.com>
Diffstat (limited to 'Source/CTest/cmCTestBuildHandler.cxx')
-rw-r--r--Source/CTest/cmCTestBuildHandler.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestBuildHandler.cxx b/Source/CTest/cmCTestBuildHandler.cxx
index 3bf54f0..1868a1e 100644
--- a/Source/CTest/cmCTestBuildHandler.cxx
+++ b/Source/CTest/cmCTestBuildHandler.cxx
@@ -506,7 +506,7 @@ public:
: FTC(CM_NULLPTR)
{
}
- bool operator()(std::string const& l, std::string const& r)
+ bool operator()(std::string const& l, std::string const& r) const
{
// Order files by modification time. Use lexicographic order
// among files with the same time.