aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/winapi/shmem.hpp
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-06-06 00:08:01 +0200
committerEgor Tensin <egor@tensin.name>2026-06-06 00:08:01 +0200
commitbaf3732247886f0e055708b580b6e8c2ab52af6d (patch)
tree4176c63b95156861a681d82b6817434c7f70a453 /include/winapi/shmem.hpp
parentfix a warning (diff)
downloadwinapi-common-baf3732247886f0e055708b580b6e8c2ab52af6d.tar.gz
winapi-common-baf3732247886f0e055708b580b6e8c2ab52af6d.zip
minor fixes
Diffstat (limited to 'include/winapi/shmem.hpp')
-rw-r--r--include/winapi/shmem.hpp2
1 files changed, 1 insertions, 1 deletions
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.