summaryrefslogtreecommitdiffstatshomepage
path: root/include/winapi/shmem.hpp
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-06-04 22:11:38 +0200
committerEgor Tensin <egor@tensin.name>2026-06-04 22:11:38 +0200
commitf99b38476062c1df90c1fe3e828e29cfc193a5f3 (patch)
tree806e9ba32a91ba1910ac99aa57e5c8fcabb54fbd /include/winapi/shmem.hpp
parentupgrade winapi-utf8 (diff)
downloadwinapi-common-f99b38476062c1df90c1fe3e828e29cfc193a5f3.tar.gz
winapi-common-f99b38476062c1df90c1fe3e828e29cfc193a5f3.zip
upgrade to `using` instead of typedef
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 d1ad997..4040241 100644
--- a/include/winapi/shmem.hpp
+++ b/include/winapi/shmem.hpp
@@ -52,7 +52,7 @@ private:
template <typename T>
class SharedObject {
public:
- typedef typename std::aligned_storage<sizeof(T), __alignof(T)>::type AlignedType;
+ using AlignedType = std::aligned_storage<sizeof(T), __alignof(T)>::type;
/**
* Create the object & construct a shared memory region to store it.