Explorar o código

test: const-correctness

Michele Caini %!s(int64=2) %!d(string=hai) anos
pai
achega
bdd213009c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      test/entt/core/ident.cpp

+ 1 - 1
test/entt/core/ident.cpp

@@ -27,5 +27,5 @@ TEST(Ident, Uniqueness) {
 
 
 TEST(Identifier, SingleType) {
 TEST(Identifier, SingleType) {
     using id = entt::ident<a_type>;
     using id = entt::ident<a_type>;
-    [[maybe_unused]] std::integral_constant<id::value_type, id::value<a_type>> ic;
+    [[maybe_unused]] const std::integral_constant<id::value_type, id::value<a_type>> ic;
 }
 }