fix #2368
This commit is contained in:
parent
65bd9e6926
commit
7d23d49ecb
1 changed files with 2 additions and 2 deletions
|
@ -112,12 +112,12 @@ public:
|
|||
|
||||
inline bool is_bitmap() const
|
||||
{
|
||||
return bitmap_data_;
|
||||
return !!bitmap_data_;
|
||||
}
|
||||
|
||||
inline bool is_vector() const
|
||||
{
|
||||
return vector_data_;
|
||||
return !!vector_data_;
|
||||
}
|
||||
|
||||
boost::optional<mapnik::image_ptr> get_bitmap_data() const
|
||||
|
|
Loading…
Reference in a new issue