Skip to content

Commit e6a176b

Browse files
committed
Add initializer list for silly GCC
[SVN r18491]
1 parent ff09809 commit e6a176b

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

test/data_members.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,11 @@ namespace
6565
static const Color3 black;
6666
};
6767

68-
const Color3 Color3::black;
68+
const Color3 Color3::black
69+
#if BOOST_WORKAROUND(__GNUC__, BOOST_TESTED_AT(3))
70+
= {}
71+
#endif
72+
;
6973

7074
void compilability_test()
7175
{

0 commit comments

Comments
 (0)