From 8913b673c34d7d53d79d2390479c2e0c78aaa2e8 Mon Sep 17 00:00:00 2001 From: Artem Pavlenko Date: Wed, 8 Jul 2020 09:36:50 +0100 Subject: [PATCH] remove unused function --- src/svg/svg_parser.cpp | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/src/svg/svg_parser.cpp b/src/svg/svg_parser.cpp index 8f8afd6d5..96327c83b 100644 --- a/src/svg/svg_parser.cpp +++ b/src/svg/svg_parser.cpp @@ -58,24 +58,6 @@ namespace mapnik { namespace svg { -namespace { -void print_css(mapnik::css_data & data) -{ - for (auto const& kv : data) - { - std::cerr << std::get<0>(kv) << " {" << std::endl; - for (auto const& def : std::get<1>(kv)) - { - auto const& r = std::get<1>(def); - std::cerr << " " << std::get<0>(def) << ":" - << std::string(r.begin(), r.end()); - } - std::cerr << "}" << std::endl; - } -} - -} - using util::name_to_int; using util::operator"" _case; @@ -566,7 +548,6 @@ void traverse_tree(svg_parser & parser, rapidxml::xml_node const* node) if (result && first == last && !parser.css_data_.empty()) { parser.css_style_ = true; - //print_css(parser.css_data_); } } }