소스 검색

registry: discard unused arguments from listeners if possible

Michele Caini 3 년 전
부모
커밋
068d9f8ae8
1개의 변경된 파일과 1개의 추가작업 그리고 1개의 파일을 삭제
  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);
         }
         }
     };
     };