This commit is contained in:
artemp 2017-03-14 11:22:11 +00:00
parent 834f0ef312
commit 0dff423c44

View file

@ -27,19 +27,13 @@
#include <mapnik/geometry/fusion_adapted.hpp> #include <mapnik/geometry/fusion_adapted.hpp>
#if defined(__GNUC__) #if defined(__GNUC__)
// instantiate `is_substitute` for const reference T and reference Attribute // instantiate `is_substitute` for reference T and reference Attribute
// fixes gcc6 compilation issue // fixes gcc6 compilation issue
namespace boost { namespace spirit { namespace x3 { namespace traits { namespace boost { namespace spirit { namespace x3 { namespace traits {
template <typename T, typename Attribute, typename Enable> template <typename T, typename Attribute, typename Enable>
struct is_substitute<T&, Attribute&, Enable> struct is_substitute<T&, Attribute&, Enable>
: is_substitute<T, Attribute, Enable> {}; : is_substitute<T, Attribute, Enable> {};
//using ring_type = mapnik::geometry::linear_ring<double>;
//template <>
//struct is_substitute<ring_type const&, ring_type const& , void>
// : is_substitute<ring_type, ring_type, void> {};
}}}} }}}}
#endif #endif