test: suppress warning

This commit is contained in:
Michele Caini
2022-11-11 10:59:10 +01:00
parent 05ef4c29d8
commit b66b8d37eb

View File

@@ -22,7 +22,7 @@ struct basic_test_allocator: std::allocator<Type> {
return *this;
}
bool operator==(const basic_test_allocator &other) {
bool operator==(const basic_test_allocator &other) const {
return (this == &other);
}
};