From b05fcf1b6df7ce1b3538a494cd5d533b70d23fb7 Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Thu, 14 Oct 2021 08:41:10 +0200 Subject: [PATCH] :recycle: default initialization --- test/src/unit-regression2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)