From 6ea591430941c7ec5465de756957a7578ebae56c Mon Sep 17 00:00:00 2001 From: Marc Glisse Date: Thu, 8 Jul 2010 09:12:23 +0000 Subject: [PATCH] Import fix for narrowing conversions from the relevant LWG issue --- STL_Extension/include/CGAL/array.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/STL_Extension/include/CGAL/array.h b/STL_Extension/include/CGAL/array.h index 96887591e0b..15103ef2459 100644 --- a/STL_Extension/include/CGAL/array.h +++ b/STL_Extension/include/CGAL/array.h @@ -83,7 +83,7 @@ inline cpp0x::array< T, 1 + sizeof...(Args) > make_array(const T & t, const Args & ... args) { - cpp0x::array< T, 1 + sizeof...(Args) > a = { { t, args... } }; + cpp0x::array< T, 1 + sizeof...(Args) > a = { { t, static_cast(args)... } }; return a; }