mirror of
https://github.com/boostorg/unordered.git
synced 2025-07-29 19:07:15 +02:00
changed predicate arg to an lvalue ref to avoid ADL ambiguities
This commit is contained in:
@ -420,7 +420,7 @@ public:
|
||||
using super::reserve;
|
||||
|
||||
template<typename Predicate>
|
||||
friend std::size_t erase_if(table& x,Predicate&& pr)
|
||||
friend std::size_t erase_if(table& x,Predicate& pr)
|
||||
{
|
||||
std::size_t s=x.size();
|
||||
x.for_all_elements(
|
||||
|
Reference in New Issue
Block a user