Fixed compile error on windows

release/4.3a0
Richard Roberts 2013-12-16 21:32:53 +00:00
parent 6f537b2b44
commit f7abc53c7a
1 changed files with 2 additions and 1 deletions

View File

@ -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,VALUE>(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(); }