File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
include/boost/geometry/geometries/concepts Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -219,7 +219,11 @@ struct checker<boost::variant<BOOST_VARIANT_ENUM_PARAMS(T)> const>
219
219
\ingroup concepts
220
220
*/
221
221
template <typename Geometry>
222
- constexpr inline void check ()
222
+ // workaround for VS2015
223
+ #if !defined(_MSC_VER) || (_MSC_VER >= 1910)
224
+ constexpr
225
+ #endif
226
+ inline void check ()
223
227
{
224
228
detail::checker<Geometry> c;
225
229
boost::ignore_unused (c);
@@ -232,7 +236,11 @@ constexpr inline void check()
232
236
\ingroup concepts
233
237
*/
234
238
template <typename Geometry1, typename Geometry2>
235
- constexpr inline void check_concepts_and_equal_dimensions ()
239
+ // workaround for VS2015
240
+ #if !defined(_MSC_VER) || (_MSC_VER >= 1910)
241
+ constexpr
242
+ #endif
243
+ inline void check_concepts_and_equal_dimensions ()
236
244
{
237
245
check<Geometry1>();
238
246
check<Geometry2>();
You can’t perform that action at this time.
0 commit comments