make member variables public to allow using BOOST_FUSION_ADAPT_STRUCT

This commit is contained in:
artemp 2015-12-10 16:04:44 +00:00
parent 09250ede96
commit b99cf8a2ca

View file

@ -36,16 +36,15 @@
namespace mapnik { namespace mapnik {
class MAPNIK_DECL color class MAPNIK_DECL color : boost::equality_comparable<color>
: boost::equality_comparable<color>
{ {
private: public:
std::uint8_t red_; std::uint8_t red_;
std::uint8_t green_; std::uint8_t green_;
std::uint8_t blue_; std::uint8_t blue_;
std::uint8_t alpha_; std::uint8_t alpha_;
bool premultiplied_; bool premultiplied_;
public:
// default ctor // default ctor
color() color()
: red_(0xff), : red_(0xff),