Skip to content

Commit

Permalink
[#204] Fixed compilation issue in local multimap
Browse files Browse the repository at this point in the history
  • Loading branch information
VitoCastellana committed Apr 12, 2022
1 parent 25fee7b commit 135b4e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/shad/data_structures/local_multimap.h
Original file line number Diff line number Diff line change
Expand Up @@ -1261,7 +1261,7 @@ class lmultimap_iterator : public std::iterator<std::forward_iterator_tag, T> {
// for each entry in bucket ... for each value in entry's value
// array
lmultimap_iterator &operator++() {
auto null_iter = std::vector<inner_type>::iterator();
auto null_iter = typename std::vector<inner_type>::iterator();

// if iterator points to an VTYPE, move to next VTYPE; else move to next
// bucket list
Expand Down Expand Up @@ -1324,7 +1324,7 @@ class lmultimap_iterator : public std::iterator<std::forward_iterator_tag, T> {
mapPtr_ = nullptr;
entryPtr_ = nullptr;
currBucket_ = nullptr;
valueItr_ = std::vector<inner_type>::iterator();
valueItr_ = typename std::vector<inner_type>::iterator();
return *this;
}

Expand Down

0 comments on commit 135b4e3

Please sign in to comment.