From 346c00e17c1583756205714730494d23081935c9 Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Wed, 13 Oct 2021 21:24:07 +0200 Subject: [PATCH] :rotating_light: fix warning Initialization of "value" is redundant. --- 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 224524189..4243cc609 100644 --- a/test/src/unit-regression2.cpp +++ b/test/src/unit-regression2.cpp @@ -199,7 +199,7 @@ class FooAlloc class Foo { public: - explicit Foo(const FooAlloc& /* unused */ = FooAlloc()) : value(false) {} + explicit Foo(const FooAlloc& /* unused */ = FooAlloc()) {} bool value = false; };