From d6da40f6a0341dc4951715bfc1986c9cbc801603 Mon Sep 17 00:00:00 2001 From: Christian Forster Date: Wed, 25 Jun 2014 14:11:21 +0200 Subject: [PATCH] added include , fixes #23 --- svo/src/map.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/svo/src/map.cpp b/svo/src/map.cpp index aa63648..bb3bcf9 100644 --- a/svo/src/map.cpp +++ b/svo/src/map.cpp @@ -14,6 +14,7 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see . +#include #include #include #include @@ -342,7 +343,7 @@ void mapStatistics(Map* map) // compute average number of observations that each point has size_t n_frame_obs(0); size_t n_pts(0); - set points; + std::set points; for(auto it=map->keyframes_.begin(); it!=map->keyframes_.end(); ++it) { for(auto ftr=(*it)->fts_.begin(); ftr!=(*it)->fts_.end(); ++ftr)