diff --git a/src/windows-emulator/handles.hpp b/src/windows-emulator/handles.hpp index 87b5045d..7f0eca2e 100644 --- a/src/windows-emulator/handles.hpp +++ b/src/windows-emulator/handles.hpp @@ -114,7 +114,7 @@ namespace handle_detail struct generic_handle_store { virtual ~generic_handle_store() = default; - virtual bool erase(const handle h) = 0; + virtual bool erase(handle h) = 0; }; template @@ -205,7 +205,7 @@ class handle_store : public generic_handle_store { if (!T::deleter(entry->second)) { - return false; + return true; } }