summaryrefslogtreecommitdiffhomepage
path: root/entity
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-09-13 20:23:18 +0200
committerStanislaw Halik <sthalik@misaki.pl>2023-09-13 20:23:33 +0200
commitd1e9184bd02b75301b7a3da507d9a4fca970cd75 (patch)
tree1cf6ab368bb039b00b081bea6e510b4298b767af /entity
parent1410c963fbbd6255357882371ab7242ea9237ce8 (diff)
add no_unique_address macro
cf. https://devblogs.microsoft.com/cppblog/msvc-cpp20-and-the-std-cpp20-switch/
Diffstat (limited to 'entity')
-rw-r--r--entity/metadata.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/entity/metadata.hpp b/entity/metadata.hpp
index dd82ce8a..16a4422d 100644
--- a/entity/metadata.hpp
+++ b/entity/metadata.hpp
@@ -112,11 +112,11 @@ public:
using Length = typename c_length::type;
StringView name;
- [[no_unique_address]] R reader;
- [[no_unique_address]] W writer;
- [[no_unique_address]] Predicate predicate;
- [[no_unique_address]] Range range;
- [[no_unique_address]] Length length;
+ [[fm_no_unique_address]] R reader;
+ [[fm_no_unique_address]] W writer;
+ [[fm_no_unique_address]] Predicate predicate;
+ [[fm_no_unique_address]] Range range;
+ [[fm_no_unique_address]] Length length;
fm_DECLARE_DEFAULT_MOVE_COPY_ASSIGNMENTS(entity_field);