diff --git a/include/shad/data_structures/local_multimap.h b/include/shad/data_structures/local_multimap.h index 4b03ae7f..b647ec55 100644 --- a/include/shad/data_structures/local_multimap.h +++ b/include/shad/data_structures/local_multimap.h @@ -1261,7 +1261,7 @@ class lmultimap_iterator : public std::iterator { // for each entry in bucket ... for each value in entry's value // array lmultimap_iterator &operator++() { - auto null_iter = std::vector::iterator(); + auto null_iter = typename std::vector::iterator(); // if iterator points to an VTYPE, move to next VTYPE; else move to next // bucket list @@ -1324,7 +1324,7 @@ class lmultimap_iterator : public std::iterator { mapPtr_ = nullptr; entryPtr_ = nullptr; currBucket_ = nullptr; - valueItr_ = std::vector::iterator(); + valueItr_ = typename std::vector::iterator(); return *this; }