Skip to content

Commit

Permalink
COMMON: Remove return from a second void PtrMap::erase()
Browse files Browse the repository at this point in the history
  • Loading branch information
DrMcCoy committed Dec 21, 2016
1 parent 84ebe57 commit c4a68b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/ptrmap.h
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class PtrMap : boost::noncopyable, public std::map<Key, T *, Compare> {
it != std::map<Key, T *, Compare>::end(); ++it)
Deallocator::destroy(it->second);

return std::map<Key, T *, Compare>::erase(first, last);
std::map<Key, T *, Compare>::erase(first, last);
}
};

Expand Down

0 comments on commit c4a68b9

Please sign in to comment.