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:
Brad King
2017-01-16 13:51:23 -05:00
parent 35ad12f99e
commit f38644527c

View File

@@ -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.