From 135b4e304e4491f452c4197f65ca2d82e2c1c5a8 Mon Sep 17 00:00:00 2001 From: Vito G Castellana Date: Tue, 12 Apr 2022 16:46:41 -0700 Subject: [PATCH] [#204] Fixed compilation issue in local multimap --- include/shad/data_structures/local_multimap.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }