From e6a176bb1e62c1e1abcd5a309f5d338284dfb1c3 Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Thu, 22 May 2003 01:35:53 +0000 Subject: [PATCH] Add initializer list for silly GCC [SVN r18491] --- test/data_members.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/data_members.cpp b/test/data_members.cpp index 2b349e4d..3ebe9d7d 100644 --- a/test/data_members.cpp +++ b/test/data_members.cpp @@ -65,7 +65,11 @@ namespace static const Color3 black; }; - const Color3 Color3::black; + const Color3 Color3::black +#if BOOST_WORKAROUND(__GNUC__, BOOST_TESTED_AT(3)) + = {} +#endif + ; void compilability_test() {