mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-02 03:39:43 -06:00
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>
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user