From 9138d64725d3aa1eb21f4dac8d9d32144076eccf Mon Sep 17 00:00:00 2001 From: artemp Date: Wed, 2 Mar 2016 17:15:05 +0100 Subject: [PATCH] value.hpp - fix error C2375: redefinition; different linkage --- include/mapnik/value.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/mapnik/value.hpp b/include/mapnik/value.hpp index 649f3bff8..3bd59b4b7 100644 --- a/include/mapnik/value.hpp +++ b/include/mapnik/value.hpp @@ -38,11 +38,11 @@ namespace value_adl_barrier { class MAPNIK_DECL value : public value_base { - friend value operator+(value const&,value const&); - friend value operator-(value const&,value const&); - friend value operator*(value const&,value const&); - friend value operator/(value const&,value const&); - friend value operator%(value const&,value const&); + friend MAPNIK_DECL value operator+(value const&,value const&); + friend MAPNIK_DECL value operator-(value const&,value const&); + friend MAPNIK_DECL value operator*(value const&,value const&); + friend MAPNIK_DECL value operator/(value const&,value const&); + friend MAPNIK_DECL value operator%(value const&,value const&); public: value() = default;