Skip to content

Commit

Permalink
try 5
Browse files Browse the repository at this point in the history
  • Loading branch information
RiscadoA committed Nov 22, 2024
1 parent e7b60c3 commit f62d173
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/include/cubos/core/memory/guards.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ namespace cubos::core::memory
/// @brief Move constructs.
/// @param other Guard to move from.
inline WriteGuard(WriteGuard&& other) noexcept
: mObject(other.object)
, mLock(std::move(other.lock))
: mObject(other.mObject)
, mLock(std::move(other.mLock))
{
}

Expand Down

0 comments on commit f62d173

Please sign in to comment.