Skip to content

Commit

Permalink
Fix bad signature
Browse files Browse the repository at this point in the history
  • Loading branch information
linas committed May 8, 2024
1 parent 75fe054 commit 63dbe88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opencog/util/concurrent_set.h
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ class concurrent_set
/// Remove the Element from the set. Return number of Elements
/// removed, i.e. 1 or 0, depending on whether the item was found
/// (or not) in the set.
size_t erase(Element&& item)
size_t erase(const Element& item)
{
std::unique_lock<std::mutex> lock(the_mutex);
return the_set.erase(item);
Expand Down

0 comments on commit 63dbe88

Please sign in to comment.