remove bogus throw() specifier from 'add_attribute'

This commit is contained in:
artemp 2017-01-09 11:35:14 +01:00 committed by Dane Springmeyer
parent 0cd3bd8737
commit 2845cdc121
2 changed files with 3 additions and 3 deletions

View file

@ -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; using namespace boost::spirit;
@ -167,7 +167,7 @@ void dbf_file::add_attribute(int col, mapnik::transcoder const& tr, mapnik::feat
else else
{ {
// NOTE: null logical fields use '?' // NOTE: null logical fields use '?'
f.put(name,false); f.put(name,false);x
} }
break; break;
} }

View file

@ -77,7 +77,7 @@ public:
field_descriptor const& descriptor(int col) const; field_descriptor const& descriptor(int col) const;
void move_to(int index); void move_to(int index);
std::string string_value(int col) const; 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: private:
void read_header(); void read_header();
int read_short(); int read_short();