diff --git a/src/interfaces/chain.cpp b/src/interfaces/chain.cpp --- a/src/interfaces/chain.cpp +++ b/src/interfaces/chain.cpp @@ -29,9 +29,7 @@ if (try_lock && result && !*result) { return {}; } - // std::move necessary on some compilers due to conversion from - // LockingStateImpl to Lock pointer - return std::move(result); + return result; } std::unique_ptr assumeLocked() override { return std::make_unique();