Ver Fonte

test: make the linter happy

Michele Caini há 1 ano atrás
pai
commit
031f340d62
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      test/entt/core/type_traits.cpp

+ 2 - 2
test/entt/core/type_traits.cpp

@@ -20,11 +20,11 @@ struct nlohmann_json_like final {
 
 struct clazz {
     char foo(int) {
-        return {};
+        return static_cast<char>(quux);
     }
 
     [[nodiscard]] int bar(double, float) const {
-        return {};
+        return static_cast<int>(quux);
     }
 
     bool quux;