Skip to content

Commit

Permalink
Merge pull request #218 from pnnl/legacy_array_iterators
Browse files Browse the repository at this point in the history
[#204] Fixed compilation issue in local multimap
  • Loading branch information
VitoCastellana authored Apr 12, 2022
2 parents 25fee7b + 135b4e3 commit 7ff1888
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 7ff1888

Please sign in to comment.