Browse Source

registry: discard unused arguments from listeners if possible

Michele Caini 3 years ago
parent
commit
068d9f8ae8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/entt/entity/registry.hpp

+ 1 - 1
src/entt/entity/registry.hpp

@@ -297,7 +297,7 @@ class basic_registry {
             }
             }
         }
         }
 
 
-        static void discard_if(basic_common_type &set, [[maybe_unused]] basic_registry &owner, const Entity entt) {
+        static void discard_if(basic_common_type &set, const Entity entt) {
             set.remove(entt);
             set.remove(entt);
         }
         }
     };
     };