Michele Caini 3 лет назад
Родитель
Сommit
b66b8d37eb
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      test/entt/common/basic_test_allocator.hpp

+ 1 - 1
test/entt/common/basic_test_allocator.hpp

@@ -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);
     }
 };