Add header for size_t since gcc requires

release/4.3a0
Andrew Melim 2013-10-28 18:07:19 +00:00
parent cfe9b9c52c
commit 788f69c00e
1 changed files with 3 additions and 1 deletions

View File

@ -20,6 +20,7 @@
#include <map>
#include <set>
#include <cstdlib> // Provides size_t
namespace gtsam {
@ -37,8 +38,9 @@ protected:
struct Entry {
typedef std::map<KEY, Entry> Map;
typename Map::iterator parent_;
Entry() {}
size_t rank_;
Entry() {}
};
typedef typename Entry::Map::iterator iterator;