Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

alignment: Specify trait definitions within the allocator

Lioncasha8ad9b2141cc
diff --git a/src/common/alignment.h b/src/common/alignment.h
index 88d5d3a65f..e24f8b0e6b 100644
--- a/src/common/alignment.h
+++ b/src/common/alignment.h
@@ -51,6 +51,11 @@ public:
using reference = T&;
using const_reference = const T&;
+ using propagate_on_container_copy_assignment = std::true_type;
+ using propagate_on_container_move_assignment = std::true_type;
+ using propagate_on_container_swap = std::true_type;
+ using is_always_equal = std::true_type;
+
public:
pointer address(reference r) noexcept {
return std::addressof(r);