浏览代码

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

skypjack 2 月之前
父节点
当前提交
e40537afc2
共有 1 个文件被更改,包括 1 次插入1 次删除
  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) \
     template<> \
     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}; \
         } \
     }