diff --git a/include/eventpp/utilities/scopedremover.h b/include/eventpp/utilities/scopedremover.h index 2fe5cb9..322aed7 100644 --- a/include/eventpp/utilities/scopedremover.h +++ b/include/eventpp/utilities/scopedremover.h @@ -23,14 +23,14 @@ namespace eventpp { namespace internal_ { -template -bool removeHandleFromScopedRemoverItemList(std::vector & itemList, Handle & handle, std::mutex & mutex) +template +bool removeHandleFromScopedRemoverItemList(std::vector & itemList, Handle & handle, Mutex & mutex) { if(! handle) { return false; } auto handlePointer = handle.lock(); - std::unique_lock lock(mutex); + std::unique_lock lock(mutex); auto it = std::find_if(itemList.begin(), itemList.end(), [&handlePointer](Item & item) { return item.handle && item.handle.lock() == handlePointer; });