Bläddra i källkod

test: make the linter happy

Michele Caini 1 år sedan
förälder
incheckning
031f340d62
1 ändrade filer med 2 tillägg och 2 borttagningar
  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 {
 struct clazz {
     char foo(int) {
     char foo(int) {
-        return {};
+        return static_cast<char>(quux);
     }
     }
 
 
     [[nodiscard]] int bar(double, float) const {
     [[nodiscard]] int bar(double, float) const {
-        return {};
+        return static_cast<int>(quux);
     }
     }
 
 
     bool quux;
     bool quux;