diff --git a/include/mapnik/util/variant.hpp b/include/mapnik/util/variant.hpp index 27993ce3f..b73533d71 100644 --- a/include/mapnik/util/variant.hpp +++ b/include/mapnik/util/variant.hpp @@ -32,15 +32,7 @@ template using recursive_wrapper = typename mapbox::util::recursive_wrapper; template -class variant : public mapbox::util::variant -{ -public: - // tell spirit that this is an adapted variant - struct adapted_variant_tag; - using types = std::tuple; - // inherit ctor's - using mapbox::util::variant::variant; -}; +using variant = typename mapbox::util::variant; // unary visitor interface // const diff --git a/src/save_map.cpp b/src/save_map.cpp index f3d89153c..882d795f9 100644 --- a/src/save_map.cpp +++ b/src/save_map.cpp @@ -46,7 +46,7 @@ #include #include #include -#include +#include #pragma GCC diagnostic push #include #include