diff options
author | graziano.giuliani | 2017-06-06 11:55:43 +0200 |
---|---|---|
committer | graziano.giuliani | 2017-06-06 11:55:43 +0200 |
commit | 26e645275670987dafa6c521e5544db0ed4caf24 (patch) | |
tree | d63a0a8e1f39f0b4299e670295567955998125f9 /g++7.patch | |
parent | 3e9ea494e83a64ccd8449cb2e9ff1745440868b1 (diff) | |
download | aur-26e645275670987dafa6c521e5544db0ed4caf24.tar.gz |
new upstream
Diffstat (limited to 'g++7.patch')
-rw-r--r-- | g++7.patch | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/g++7.patch b/g++7.patch new file mode 100644 index 000000000000..cd460ee3324e --- /dev/null +++ b/g++7.patch @@ -0,0 +1,53 @@ +--- src/Magics-2.33.0-Source/src/boost/geometry/geometries/point.hpp 2017-05-17 10:35:00.000000000 +0200 ++++ src/Magics-2.33.0-Source/src/boost/geometry/geometries/point.hpp.new 2017-06-06 10:54:25.052432745 +0200 +@@ -92,6 +92,16 @@ + m_values[K] = value; + } + ++ /// @brief Set a coordinate ++ /// @tparam K coordinate to set ++ /// @param value value to set ++ template <std::size_t K> ++ inline void xset(CoordinateType const& value) ++ { ++ BOOST_STATIC_ASSERT(K < DimensionCount); ++ m_values[K] = value; ++ } ++ + private: + + CoordinateType m_values[DimensionCount]; +@@ -166,7 +176,7 @@ + model::point<CoordinateType, DimensionCount, CoordinateSystem>& p, + CoordinateType const& value) + { +- p.template set<Dimension>(value); ++ p.template xset<Dimension>(value); + } + }; + +--- src/Magics-2.33.0-Source/src/boost/geometry/geometries/point_xy.hpp 2017-05-17 10:35:00.000000000 +0200 ++++ src/Magics-2.33.0-Source/src/boost/geometry/geometries/point_xy.hpp.new 2017-06-06 10:54:37.669171037 +0200 +@@ -65,11 +65,11 @@ + + /// Set x-value + inline void x(CoordinateType const& v) +- { this->template set<0>(v); } ++ { this->template xset<0>(v); } + + /// Set y-value + inline void y(CoordinateType const& v) +- { this->template set<1>(v); } ++ { this->template xset<1>(v); } + }; + + +@@ -116,7 +116,7 @@ + static inline void set(model::d2::point_xy<CoordinateType, CoordinateSystem>& p, + CoordinateType const& value) + { +- p.template set<Dimension>(value); ++ p.template xset<Dimension>(value); + } + }; + |