test: avoid a mutable comparator for test (#1482)
This commit is contained in:
parent
d95d884bba
commit
d880d64a9c
|
@ -33,7 +33,7 @@ std::ostringstream output;
|
||||||
**/
|
**/
|
||||||
|
|
||||||
struct CompareFixtures {
|
struct CompareFixtures {
|
||||||
bool operator()(const TestFixture* lhs, const TestFixture* rhs) {
|
bool operator()(const TestFixture* lhs, const TestFixture* rhs) const {
|
||||||
return lhs->classname < rhs->classname;
|
return lhs->classname < rhs->classname;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue