From f62d173ab68aa151277068ef05bc1981ab2c9102 Mon Sep 17 00:00:00 2001 From: Ricardo Antunes Date: Fri, 22 Nov 2024 20:25:58 +0100 Subject: [PATCH] try 5 --- core/include/cubos/core/memory/guards.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/include/cubos/core/memory/guards.hpp b/core/include/cubos/core/memory/guards.hpp index 1fa7d31149..548003050a 100644 --- a/core/include/cubos/core/memory/guards.hpp +++ b/core/include/cubos/core/memory/guards.hpp @@ -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)) { }