diff options
Diffstat (limited to 'tagstats/tagstats.cpp')
-rw-r--r-- | tagstats/tagstats.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tagstats/tagstats.cpp b/tagstats/tagstats.cpp index a8c32d5..bacdfdc 100644 --- a/tagstats/tagstats.cpp +++ b/tagstats/tagstats.cpp @@ -33,10 +33,10 @@ You should have received a copy of the Licenses along with Osmium. If not, see */ typedef TAGSTATS_GEODISTRIBUTION_INT rough_position_t; +// Set BYID in Makefile to SparseTable, MmapFile, or MmapAnon #ifdef TAGSTATS_GEODISTRIBUTION_FOR_WAYS -# include <osmium/storage/byid.hpp> -// Set TAGSTATS_GEODISTRIBUTION_STORAGE to SparseTable or Mmap in Makefile -typedef Osmium::Storage::TAGSTATS_GEODISTRIBUTION_FOR_WAYS<rough_position_t> storage_t; +# include TAGSTATS_GEODISTRIBUTION_INCLUDE +typedef Osmium::Storage::ById::TAGSTATS_GEODISTRIBUTION_FOR_WAYS<rough_position_t> storage_t; #endif // TAGSTATS_GEODISTRIBUTION_FOR_WAYS #include "geodistribution.hpp" |