From 3059cbf2312687f5be630d54ecb7668f646bde97 Mon Sep 17 00:00:00 2001 From: Daniel Patterson Date: Wed, 17 Jun 2015 20:54:44 -0700 Subject: [PATCH] Remove debugging outputs, fix missing semicolon. --- src/image_reader.cpp | 3 --- src/svg_reader.cpp | 5 ----- test/unit/imaging/svg.cpp | 2 +- 3 files changed, 1 insertion(+), 9 deletions(-) diff --git a/src/image_reader.cpp b/src/image_reader.cpp index f7c867927..0cdc8e4b2 100644 --- a/src/image_reader.cpp +++ b/src/image_reader.cpp @@ -65,9 +65,7 @@ inline boost::optional type_from_bytes(char const* data, size_t siz // NOTE: Limit search to first 300 bytes. Totally arbitrary, but don't // want to search through whole buffer - std::cout << "Starting svg test" << std::endl; const size_t max_svg_search = std::min(static_cast(300), size); - std::cout << "Searching max " << max_svg_search << " bytes " << std::endl; for(int i=0; i < static_cast(max_svg_search)-4; i++) { if (data[i] == '<' && @@ -78,7 +76,6 @@ inline boost::optional type_from_bytes(char const* data, size_t siz return result_type("svg"); } } - std::cout << "Did not find ::~svg_reader() {} template void svg_reader::init() { - - std::cout << "******* initing svg reader" << std::endl; - using namespace mapnik::svg; svg_path_ptr marker_path(std::make_shared()); vertex_stl_adapter stl_storage(marker_path->source()); @@ -160,8 +157,6 @@ void svg_reader::init() width_=svg.width(); height_=svg.height(); - - std::cout << "******* done svg reader" << std::endl; } template diff --git a/test/unit/imaging/svg.cpp b/test/unit/imaging/svg.cpp index e3a36b06c..aef5f2a34 100644 --- a/test/unit/imaging/svg.cpp +++ b/test/unit/imaging/svg.cpp @@ -62,7 +62,7 @@ SECTION("svg_blank") mapnik::image_rgba8 raw = im.get(); std::string pngdata = mapnik::save_to_string(raw,"png"); - CHECK(pngdata.length() == 1270 ) + CHECK(pngdata.length() == 1270 ); } // END SECTION