Parcourir la source

test: try to make clang 16 happy again on the CI

skypjack il y a 2 mois
Parent
commit
e40537afc2
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      test/lib/meta/plugin_std/userdata.h

+ 1 - 1
test/lib/meta/plugin_std/userdata.h

@@ -12,7 +12,7 @@
 #define ASSIGN_TYPE_ID(clazz) \
 #define ASSIGN_TYPE_ID(clazz) \
     template<> \
     template<> \
     struct entt::type_hash<clazz> { \
     struct entt::type_hash<clazz> { \
-        static consteval entt::id_type value() noexcept { \
+        static constexpr entt::id_type value() noexcept { \
             return entt::basic_hashed_string<std::remove_const_t<std::remove_pointer_t<std::decay_t<decltype(#clazz)>>>>{#clazz}; \
             return entt::basic_hashed_string<std::remove_const_t<std::remove_pointer_t<std::decay_t<decltype(#clazz)>>>>{#clazz}; \
         } \
         } \
     }
     }