Skip to content

Commit

Permalink
added include <set>, fixes uzh-rpg#23
Browse files Browse the repository at this point in the history
  • Loading branch information
cfo committed Jun 25, 2014
1 parent 7d2263a commit d6da40f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion svo/src/map.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.

#include <set>
#include <svo/map.h>
#include <svo/point.h>
#include <svo/frame.h>
Expand Down Expand Up @@ -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<Point*> points;
std::set<Point*> points;
for(auto it=map->keyframes_.begin(); it!=map->keyframes_.end(); ++it)
{
for(auto ftr=(*it)->fts_.begin(); ftr!=(*it)->fts_.end(); ++ftr)
Expand Down

0 comments on commit d6da40f

Please sign in to comment.