Browse Source

test: try to please the linter

Michele Caini 1 year ago
parent
commit
295bbb209f
1 changed files with 3 additions and 0 deletions
  1. 3 0
      test/entt/meta/meta_type.cpp

+ 3 - 0
test/entt/meta/meta_type.cpp

@@ -100,6 +100,9 @@ struct from_void_callback {
     from_void_callback(bool &ref)
         : cb{&ref} {}
 
+    from_void_callback(const from_void_callback &) = delete;
+    from_void_callback &operator=(const from_void_callback &) = delete;
+
     ~from_void_callback() {
         *cb = !*cb;
     }