Преглед на файлове

test: remove useless inline specifier

Michele Caini преди 1 година
родител
ревизия
54adabee28
променени са 1 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 3 3
      test/entt/entity/sigh_mixin.cpp

+ 3 - 3
test/entt/entity/sigh_mixin.cpp

@@ -25,15 +25,15 @@ struct auto_signal final {
           updated{&uflag},
           destroyed{&dflag} {}
 
-    inline static void on_construct(entt::registry &registry, const entt::entity entt) {
+    static void on_construct(entt::registry &registry, const entt::entity entt) {
         *registry.get<auto_signal>(entt).created = true;
     }
 
-    inline static void on_update(entt::registry &registry, const entt::entity entt) {
+    static void on_update(entt::registry &registry, const entt::entity entt) {
         *registry.get<auto_signal>(entt).updated = true;
     }
 
-    inline static void on_destroy(entt::registry &registry, const entt::entity entt) {
+    static void on_destroy(entt::registry &registry, const entt::entity entt) {
         *registry.get<auto_signal>(entt).destroyed = true;
     }