Explorar el Código

test: suppress warning

Michele Caini hace 3 años
padre
commit
b66b8d37eb
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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);
     }
 };