Browse Source

test: code coverage (codecov is odd sometimes)

Michele Caini 5 years ago
parent
commit
3d06911886
1 changed files with 2 additions and 1 deletions
  1. 2 1
      test/entt/meta/meta_handle.cpp

+ 2 - 1
test/entt/meta/meta_handle.cpp

@@ -5,9 +5,10 @@
 #include <entt/meta/resolve.hpp>
 #include <entt/meta/resolve.hpp>
 
 
 struct clazz_t {
 struct clazz_t {
+    clazz_t(): value{} {}
     void incr() { ++value; }
     void incr() { ++value; }
     void decr() { --value; }
     void decr() { --value; }
-    int value{};
+    int value;
 };
 };
 
 
 struct MetaHandle: ::testing::Test {
 struct MetaHandle: ::testing::Test {