From 2845cdc121f6241ac14ba5ca01b16c39afc67641 Mon Sep 17 00:00:00 2001 From: artemp Date: Mon, 9 Jan 2017 11:35:14 +0100 Subject: [PATCH] remove bogus `throw()` specifier from 'add_attribute' --- plugins/input/shape/dbfile.cpp | 4 ++-- plugins/input/shape/dbfile.hpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/input/shape/dbfile.cpp b/plugins/input/shape/dbfile.cpp index d64d37384..ec3dcbd7a 100644 --- a/plugins/input/shape/dbfile.cpp +++ b/plugins/input/shape/dbfile.cpp @@ -137,7 +137,7 @@ const field_descriptor& dbf_file::descriptor(int col) const } -void dbf_file::add_attribute(int col, mapnik::transcoder const& tr, mapnik::feature_impl & f) const throw() +void dbf_file::add_attribute(int col, mapnik::transcoder const& tr, mapnik::feature_impl & f) const { using namespace boost::spirit; @@ -167,7 +167,7 @@ void dbf_file::add_attribute(int col, mapnik::transcoder const& tr, mapnik::feat else { // NOTE: null logical fields use '?' - f.put(name,false); + f.put(name,false);x } break; } diff --git a/plugins/input/shape/dbfile.hpp b/plugins/input/shape/dbfile.hpp index 9ff022400..86807f334 100644 --- a/plugins/input/shape/dbfile.hpp +++ b/plugins/input/shape/dbfile.hpp @@ -77,7 +77,7 @@ public: field_descriptor const& descriptor(int col) const; void move_to(int index); std::string string_value(int col) const; - void add_attribute(int col, mapnik::transcoder const& tr, mapnik::feature_impl & f) const throw(); + void add_attribute(int col, mapnik::transcoder const& tr, mapnik::feature_impl & f) const; private: void read_header(); int read_short();