test: avoid a mutable comparator for test (#1482)

This commit is contained in:
Carlo Marcelo Arenas Belon 2018-11-15 07:21:12 -08:00 committed by Daniel Marjamäki
parent d95d884bba
commit d880d64a9c
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ std::ostringstream output;
**/
struct CompareFixtures {
bool operator()(const TestFixture* lhs, const TestFixture* rhs) {
bool operator()(const TestFixture* lhs, const TestFixture* rhs) const {
return lhs->classname < rhs->classname;
}
};