From f38644527cee6d99b48930bf88e84de15d98007b Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 16 Jan 2017 13:51:23 -0500 Subject: 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 --- Source/CTest/cmCTestBuildHandler.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- cgit v0.12