Skip to content
Snippets Groups Projects
Commit f3864452 authored by Brad King's avatar Brad King
Browse files

cmCTestBuildHandler: Fix warning in FragmentCompare signature


```
warning: the specified comparator type does not provide a const call
operator [-Wuser-defined-warnings]
```

Reported-by: default avatarSean McBride <sean@rogue-research.com>
parent 35ad12f9
No related branches found
No related tags found
No related merge requests found
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment