diff --git a/test/src/unit-regression2.cpp b/test/src/unit-regression2.cpp index 4243cc609..a605c9eeb 100644 --- a/test/src/unit-regression2.cpp +++ b/test/src/unit-regression2.cpp @@ -207,7 +207,7 @@ class Foo class FooBar { public: - Foo foo; + Foo foo{}; }; inline void from_json(const nlohmann::json& j, FooBar& fb)