Skip to content

Commit

Permalink
avoid "function must return a value" error
Browse files Browse the repository at this point in the history
  • Loading branch information
alex85k committed Aug 22, 2014
1 parent 9a1f19d commit 2d039c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/osmium/index/map/dummy.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ namespace osmium {

const TValue get(const TId id) const override final {
not_found_error(id);
return TValue(); // unreachable code just to avoid compile error
}

size_t size() const override final {
Expand Down

0 comments on commit 2d039c3

Please sign in to comment.