Browse Source

test: suppress warning

Michele Caini 3 years ago
parent
commit
b66b8d37eb
1 changed files with 1 additions and 1 deletions
  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;
         return *this;
     }
     }
 
 
-    bool operator==(const basic_test_allocator &other) {
+    bool operator==(const basic_test_allocator &other) const {
         return (this == &other);
         return (this == &other);
     }
     }
 };
 };