fix compile with boost 1.56 - refs #2368

This commit is contained in:
Dane Springmeyer 2014-08-24 15:58:28 -07:00
parent 3fc6e1282f
commit 08f651289d

View file

@ -124,12 +124,12 @@ public:
inline bool is_bitmap() const
{
return bitmap_data_;
return bitmap_data_ ? true : false;
}
inline bool is_vector() const
{
return vector_data_;
return vector_data_ ? true : false;
}
boost::optional<mapnik::image_ptr> get_bitmap_data() const