diff options
| author | Egor <egor.yusov@gmail.com> | 2018-11-03 06:00:33 +0000 |
|---|---|---|
| committer | Egor <egor.yusov@gmail.com> | 2018-11-03 06:00:33 +0000 |
| commit | fdfd3b6dd70be5a8d456d6837758aa43a90ab3cc (patch) | |
| tree | 08fcf5f176ccacd241bf5f2c5480501e02833991 /Platforms | |
| parent | Fixed Vulkan validation error message about incorrect buffer offset alignment... (diff) | |
| download | DiligentCore-fdfd3b6dd70be5a8d456d6837758aa43a90ab3cc.tar.gz DiligentCore-fdfd3b6dd70be5a8d456d6837758aa43a90ab3cc.zip | |
Fixed few linux build issues
Diffstat (limited to 'Platforms')
| -rw-r--r-- | Platforms/Basic/interface/BasicAtomics.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Platforms/Basic/interface/BasicAtomics.h b/Platforms/Basic/interface/BasicAtomics.h index 3d9ea8ea..a4c40b03 100644 --- a/Platforms/Basic/interface/BasicAtomics.h +++ b/Platforms/Basic/interface/BasicAtomics.h @@ -27,9 +27,10 @@ struct BasicAtomics { - typedef long Long; - typedef std::atomic<Long> AtomicLong; - typedef std::atomic<int64_t> AtomicInt64; + using Long = long; + using AtomicLong = std::atomic<Long>; + using Int64 = int64_t; + using AtomicInt64 = std::atomic<Int64>; // The function returns the resulting INCREMENTED value. template<typename Type> |
