aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/winapi/shmem.hpp
diff options
context:
space:
mode:
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.