fix - add missing namespace qualifier.

This commit is contained in:
artemp 2017-06-05 15:52:49 +02:00
parent 03fb8fab4c
commit 309b34a011

View file

@ -3,7 +3,7 @@
class test : public benchmark::test_case class test : public benchmark::test_case
{ {
std::shared_ptr<image_rgba8> im_; std::shared_ptr<mapnik::image_rgba8> im_;
public: public:
test(mapnik::parameters const& params) test(mapnik::parameters const& params)
: test_case(params) { : test_case(params) {
@ -13,7 +13,7 @@ public:
{ {
throw mapnik::image_reader_exception("Failed to load: " + filename); throw mapnik::image_reader_exception("Failed to load: " + filename);
} }
im_ = std::make_shared<image_rgba8>(reader->width(),reader->height()); im_ = std::make_shared<mapnik::image_rgba8>(reader->width(),reader->height());
reader->read(0,0,*im_); reader->read(0,0,*im_);
} }
bool validate() const bool validate() const