diff options
| author | Egor Tensin <egor@tensin.name> | 2026-06-06 00:08:01 +0200 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2026-06-06 00:08:01 +0200 |
| commit | baf3732247886f0e055708b580b6e8c2ab52af6d (patch) | |
| tree | 4176c63b95156861a681d82b6817434c7f70a453 /include/winapi/shmem.hpp | |
| parent | fix a warning (diff) | |
| download | winapi-common-baf3732247886f0e055708b580b6e8c2ab52af6d.tar.gz winapi-common-baf3732247886f0e055708b580b6e8c2ab52af6d.zip | |
minor fixes
Diffstat (limited to 'include/winapi/shmem.hpp')
| -rw-r--r-- | include/winapi/shmem.hpp | 2 |
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. |
