From b99cf8a2ca05bba07b5ad257f014629745f43832 Mon Sep 17 00:00:00 2001 From: artemp Date: Thu, 10 Dec 2015 16:04:44 +0000 Subject: [PATCH] make member variables public to allow using BOOST_FUSION_ADAPT_STRUCT --- include/mapnik/color.hpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/include/mapnik/color.hpp b/include/mapnik/color.hpp index 1f8b0aa40..fc040c9a4 100644 --- a/include/mapnik/color.hpp +++ b/include/mapnik/color.hpp @@ -36,16 +36,15 @@ namespace mapnik { -class MAPNIK_DECL color - : boost::equality_comparable +class MAPNIK_DECL color : boost::equality_comparable { -private: +public: std::uint8_t red_; std::uint8_t green_; std::uint8_t blue_; std::uint8_t alpha_; bool premultiplied_; -public: + // default ctor color() : red_(0xff),