diff options
Diffstat (limited to 'boost/geometry/srs/projections/par_data.hpp')
-rw-r--r-- | boost/geometry/srs/projections/par_data.hpp | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/boost/geometry/srs/projections/par_data.hpp b/boost/geometry/srs/projections/par_data.hpp index 17644e2157..c867676128 100644 --- a/boost/geometry/srs/projections/par_data.hpp +++ b/boost/geometry/srs/projections/par_data.hpp @@ -10,10 +10,12 @@ #ifndef BOOST_GEOMETRY_SRS_PROJECTIONS_PAR_DATA_HPP #define BOOST_GEOMETRY_SRS_PROJECTIONS_PAR_DATA_HPP -#include <boost/config.hpp> #include <string> #include <vector> +#include <boost/geometry/core/assert.hpp> +#include <boost/geometry/core/config.hpp> + namespace boost { namespace geometry { namespace srs { @@ -86,14 +88,14 @@ struct towgs84 towgs84() : m_size(0) -#ifndef BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX +#ifdef BOOST_GEOMETRY_CXX11_ARRAY_UNIFIED_INITIALIZATION , m_data{0, 0, 0, 0, 0, 0, 0} -#endif + {} +#else { -#ifdef BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX std::fill(m_data, m_data + 7, T(0)); -#endif } +#endif template <typename It> towgs84(It first, It last) |