diff --git a/benchmark/test_rendering.cpp b/benchmark/test_rendering.cpp index fc7984b15..30e80be77 100644 --- a/benchmark/test_rendering.cpp +++ b/benchmark/test_rendering.cpp @@ -59,7 +59,7 @@ public: ren.apply(); if (!preview_.empty()) { std::clog << "preview available at " << preview_ << "\n"; - mapnik::save_to_file(im.data(),preview_); + mapnik::save_to_file(im,preview_); } return true; }