Fixed compile error on windows
parent
6f537b2b44
commit
f7abc53c7a
|
@ -61,7 +61,8 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Handy 'insert' function for Matlab wrapper */
|
/** 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 */
|
/** Handy 'exists' function */
|
||||||
bool exists(const KEY& e) const { return this->find(e) != this->end(); }
|
bool exists(const KEY& e) const { return this->find(e) != this->end(); }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue