diff options
| author | Egor Tensin <egor@tensin.name> | 2026-06-04 22:11:38 +0200 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2026-06-04 22:11:38 +0200 |
| commit | f99b38476062c1df90c1fe3e828e29cfc193a5f3 (patch) | |
| tree | 806e9ba32a91ba1910ac99aa57e5c8fcabb54fbd /include/winapi/shmem.hpp | |
| parent | upgrade winapi-utf8 (diff) | |
| download | winapi-common-f99b38476062c1df90c1fe3e828e29cfc193a5f3.tar.gz winapi-common-f99b38476062c1df90c1fe3e828e29cfc193a5f3.zip | |
upgrade to `using` instead of typedef
Diffstat (limited to '')
| -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 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. |
