follow up from 32f5703ed1 - more generic specialisation

This commit is contained in:
artemp 2017-03-14 10:26:09 +00:00
parent 32f5703ed1
commit 203d767e73

View file

@ -31,10 +31,14 @@
// fixes gcc6 compilation issue
namespace boost { namespace spirit { namespace x3 { namespace traits {
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> {};
template <typename T, typename Attribute, typename Enable>
struct 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