Skip to content

Commit 84f6858

Browse files
committed
Fix brace initialization for std::array in serialization unit tests
Signed-off-by: rusloker <klokotkov@ya.ru>
1 parent 615c69a commit 84f6858

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/src/unit-serialization.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -311,14 +311,14 @@ TEST_CASE("dump for basic_json with long double number_float_t")
311311
SECTION("round-trip dump/parse")
312312
{
313313
constexpr std::array<long double, 13> values =
314-
{
314+
{{
315315
0.0L, -0.0L, 1.0L, -1.0L,
316316
0.5L, -0.5L, 1.5L, -2.25L,
317317
1.23e45L, 1.23e-45L,
318318
(std::numeric_limits<long double>::min)(),
319319
std::numeric_limits<long double>::lowest(),
320320
(std::numeric_limits<long double>::max)()
321-
};
321+
}};
322322

323323
for (long double v : values)
324324
{

0 commit comments

Comments
 (0)