now fix msvc compiler error. Why does msvc complain?

This commit is contained in:
Mathis Logemann 2020-11-20 20:16:27 +01:00
parent 621ab99961
commit 5420ccd6af
3 changed files with 3 additions and 3 deletions

View file

@ -59,7 +59,7 @@ struct geometry : geometry_base<T>
{ {
using coordinate_type = T; using coordinate_type = T;
#if __cpp_inheriting_constructors >= 200802 #if __cpp_inheriting_constructors >= 200802 && !defined (_MSC_VER)
using geometry_base<T>::geometry_base; using geometry_base<T>::geometry_base;

View file

@ -54,7 +54,7 @@ using geojson_value_base = mapnik::util::variant<value_null,
geojson_object>; geojson_object>;
struct geojson_value : geojson_value_base struct geojson_value : geojson_value_base
{ {
#if __cpp_inheriting_constructors >= 200802 #if __cpp_inheriting_constructors >= 200802 && !defined (_MSC_VER)
using geojson_value_base::geojson_value_base; using geojson_value_base::geojson_value_base;

View file

@ -46,7 +46,7 @@ using json_value_base = mapnik::util::variant<value_null,
json_object>; json_object>;
struct json_value : json_value_base struct json_value : json_value_base
{ {
#if __cpp_inheriting_constructors >= 200802 #if __cpp_inheriting_constructors >= 200802 && !defined (_MSC_VER)
using json_value_base::json_value_base; using json_value_base::json_value_base;