joto / osmium

C++/Javascript framework for working with OSM files.
http://wiki.openstreetmap.org/wiki/Osmium
GNU General Public License v3.0
123 stars 31 forks source link

fix compile by specifying void type for add_size #67

Closed springmeyer closed 11 years ago

springmeyer commented 11 years ago

Fixes this error:

In file included from ../include/osmium/ser/item.hpp:36:
../include/osmium/ser/buffer.hpp:165:21: error: C++ requires a type specifier for all declarations
            virtual add_size(length_t size) {
            ~~~~~~~ ^

And here are warnings fyi: https://gist.github.com/springmeyer/d73d50a51ddfc96c9cb7

springmeyer commented 11 years ago

fixed most warnings in 0c3f744