summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-10-07 00:43:08 +0200
committerLioncash <mathew1800@gmail.com>2019-10-07 00:49:49 +0200
commit57ffada746f8a3ba68895f5f14dea4b17fd9eaa8 (patch)
tree1d72bb35a0a4fc91f5ea0a361c1e72573a8491cc /src
parentalignment: Specify trait definitions within the allocator (diff)
downloadyuzu-57ffada746f8a3ba68895f5f14dea4b17fd9eaa8.tar
yuzu-57ffada746f8a3ba68895f5f14dea4b17fd9eaa8.tar.gz
yuzu-57ffada746f8a3ba68895f5f14dea4b17fd9eaa8.tar.bz2
yuzu-57ffada746f8a3ba68895f5f14dea4b17fd9eaa8.tar.lz
yuzu-57ffada746f8a3ba68895f5f14dea4b17fd9eaa8.tar.xz
yuzu-57ffada746f8a3ba68895f5f14dea4b17fd9eaa8.tar.zst
yuzu-57ffada746f8a3ba68895f5f14dea4b17fd9eaa8.zip
Diffstat (limited to 'src')
-rw-r--r--src/common/alignment.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/common/alignment.h b/src/common/alignment.h
index e24f8b0e6..cdd4833f8 100644
--- a/src/common/alignment.h
+++ b/src/common/alignment.h
@@ -57,6 +57,11 @@ public:
using is_always_equal = std::true_type;
public:
+ constexpr AlignmentAllocator() noexcept = default;
+
+ template <typename T2>
+ constexpr AlignmentAllocator(const AlignmentAllocator<T2, Align>&) noexcept {}
+
pointer address(reference r) noexcept {
return std::addressof(r);
}