Temporarily overriding the FastMap use in LieValues so that LieValues can be serialized properly

release/4.3a0
John Rogers 2011-02-07 17:12:53 +00:00
parent 06db4ac770
commit 190a612086
1 changed files with 2 additions and 1 deletions

View File

@ -57,7 +57,8 @@ namespace gtsam {
*/
typedef J Key;
typedef typename J::Value Value;
typedef FastMap<J,Value> KeyValueMap;
typedef std::map<Key, Value, std::less<Key>, boost::fast_pool_allocator<std::pair<const Key, Value> > > KeyValueMap;
// typedef FastMap<J,Value> KeyValueMap;
typedef typename KeyValueMap::value_type KeyValuePair;
typedef typename KeyValueMap::iterator iterator;
typedef typename KeyValueMap::const_iterator const_iterator;