diff --git a/include/mapnik/feature_kv_iterator.hpp b/include/mapnik/feature_kv_iterator.hpp index 8cf76fe33..7c2f2a495 100644 --- a/include/mapnik/feature_kv_iterator.hpp +++ b/include/mapnik/feature_kv_iterator.hpp @@ -24,6 +24,7 @@ #define MAPNIK_FEATURE_KV_ITERATOR_HPP // mapnik +#include #include // boost #include @@ -39,7 +40,7 @@ namespace mapnik { class feature_impl; -class feature_kv_iterator : +class MAPNIK_DECL feature_kv_iterator : public boost::iterator_facade const, boost::forward_traversal_tag> diff --git a/src/feature_kv_iterator.cpp b/src/feature_kv_iterator.cpp index 09551db60..9cf9402f3 100644 --- a/src/feature_kv_iterator.cpp +++ b/src/feature_kv_iterator.cpp @@ -42,7 +42,7 @@ void feature_kv_iterator::decrement() // dummy //--itr_; } -void advance(boost::iterator_difference::type ) +void feature_kv_iterator::advance(boost::iterator_difference::type ) { // dummy }