Browse Source

test: suppress warnings due to missing virtual destructor

Michele Caini 4 years ago
parent
commit
f8e137a1dc
1 changed files with 2 additions and 0 deletions
  1. 2 0
      test/entt/resource/resource.cpp

+ 2 - 0
test/entt/resource/resource.cpp

@@ -5,6 +5,8 @@
 #include <entt/resource/cache.hpp>
 
 struct resource {
+    virtual ~resource() = default;
+
     virtual const entt::type_info &type() const ENTT_NOEXCEPT {
         return entt::type_id<resource>();
     }