added include <set>, fixes #23

This commit is contained in:
Christian Forster
2014-06-25 14:11:21 +02:00
parent 7d2263aeda
commit d6da40f6a0
+2 -1
View File
@@ -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>
@@ -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)