From 29c4f730ebb45ac2ba9130c4c1a0f85bba3cf294 Mon Sep 17 00:00:00 2001 From: Mickey Rose Date: Tue, 16 Feb 2016 19:38:09 +0100 Subject: [PATCH] benchmarks: fix errors in non-compiling sources --- benchmark/test_array_allocation.cpp | 27 --------------------------- benchmark/test_png_encoding1.cpp | 2 +- benchmark/test_png_encoding2.cpp | 2 +- 3 files changed, 2 insertions(+), 29 deletions(-) diff --git a/benchmark/test_array_allocation.cpp b/benchmark/test_array_allocation.cpp index fda9bb6ab..e11a68fd8 100644 --- a/benchmark/test_array_allocation.cpp +++ b/benchmark/test_array_allocation.cpp @@ -231,33 +231,6 @@ public: } }; -class test3d : public benchmark::test_case -{ -public: - uint32_t size_; - std::vector array_; - test3d(mapnik::parameters const& params) - : test_case(params), - size_(*params.get("size",256*256)), - array_(size_,0) { } - bool validate() const - { - return true; - } - bool operator()() const - { - for (std::size_t i=0;i data(size_); - for (std::size_t i=0;i