🚨 fix warning

Initialization of "value" is redundant.
This commit is contained in:
Niels Lohmann 2021-10-13 21:24:07 +02:00
parent 39928f5f8c
commit 346c00e17c
No known key found for this signature in database
GPG Key ID: 7F3CEA63AE251B69

View File

@ -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;
};