From baf3732247886f0e055708b580b6e8c2ab52af6d Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 6 Jun 2026 00:08:01 +0200 Subject: minor fixes --- include/winapi/shmem.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/winapi/shmem.hpp') diff --git a/include/winapi/shmem.hpp b/include/winapi/shmem.hpp index 3290cf3..aecae85 100644 --- a/include/winapi/shmem.hpp +++ b/include/winapi/shmem.hpp @@ -95,7 +95,7 @@ public: T& operator*() const { return get(); } private: - explicit SharedObject(SharedMemory&& shmem) : m_shmem(std::move(shmem)) {} + explicit SharedObject(SharedMemory&& shmem) : m_shmem{std::move(shmem)} {} SharedMemory m_shmem; // Destruct only once, no matter the number of mappings. -- cgit v1.3