From f7abc53c7a6529f8297c9dbf0a7a355108d5d897 Mon Sep 17 00:00:00 2001 From: Richard Roberts Date: Mon, 16 Dec 2013 21:32:53 +0000 Subject: [PATCH] Fixed compile error on windows --- gtsam/base/FastMap.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gtsam/base/FastMap.h b/gtsam/base/FastMap.h index 084919427..0a76c08b0 100644 --- a/gtsam/base/FastMap.h +++ b/gtsam/base/FastMap.h @@ -61,7 +61,8 @@ public: } /** Handy 'insert' function for Matlab wrapper */ - bool insert2(const KEY& key, const VALUE& val) { return Base::insert(std::make_pair(key, val)).second; } + bool insert2(const KEY& key, const VALUE& val) { return Base::insert(std::make_pair(key, val)).second; } + /** Handy 'exists' function */ bool exists(const KEY& e) const { return this->find(e) != this->end(); }