summaryrefslogtreecommitdiff
path: root/libs/math/example/hyperexponential_snips.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libs/math/example/hyperexponential_snips.cpp')
-rw-r--r--libs/math/example/hyperexponential_snips.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/math/example/hyperexponential_snips.cpp b/libs/math/example/hyperexponential_snips.cpp
index 32c550bb5..609c1164d 100644
--- a/libs/math/example/hyperexponential_snips.cpp
+++ b/libs/math/example/hyperexponential_snips.cpp
@@ -85,7 +85,7 @@ int main()
//]
}
#endif
-#if !defined(BOOST_NO_CXX11_HDR_INITIALIZER_LIST)
+#if !defined(BOOST_NO_CXX11_HDR_INITIALIZER_LIST) && !(defined(BOOST_GCC_VERSION) && (BOOST_GCC_VERSION < 40500))
{
//[hyperexponential_snip6
hyperexponential he = { { 0.5, 0.5 }, { 1.0 / 10, 1.0 / 12 } };