From 997da1e630fc98af0bc4a597a1adc7f1c41e9eba Mon Sep 17 00:00:00 2001 From: Blake Thompson Date: Sat, 24 Jan 2015 21:29:50 -0600 Subject: [PATCH] Fix for benchmark --- benchmark/test_rendering.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }