Skip to content

Commit

Permalink
apply_reader_simple is a template function
Browse files Browse the repository at this point in the history
  • Loading branch information
lonvia committed Aug 20, 2017
1 parent a61dec6 commit d0dc19f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/osmium.cc
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ void apply_reader_simple(osmium::io::Reader &rd, T &h) {
osmium::apply(rd, h);
}

template <>
void apply_reader_simple(osmium::io::Reader &rd, BaseHandler &h) {
h.apply_start();
osmium::apply(rd, h);
Expand Down

0 comments on commit d0dc19f

Please sign in to comment.