summaryrefslogtreecommitdiff
path: root/test/support/emplace_constructible.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/support/emplace_constructible.h')
-rw-r--r--test/support/emplace_constructible.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/support/emplace_constructible.h b/test/support/emplace_constructible.h
index f2bc0ec6a367..f0d11ba76c87 100644
--- a/test/support/emplace_constructible.h
+++ b/test/support/emplace_constructible.h
@@ -7,7 +7,7 @@
template <class T>
struct EmplaceConstructible {
T value;
- explicit EmplaceConstructible(T value) : value(value) {}
+ explicit EmplaceConstructible(T xvalue) : value(xvalue) {}
EmplaceConstructible(EmplaceConstructible const&) = delete;
};
@@ -15,7 +15,7 @@ template <class T>
struct EmplaceConstructibleAndMoveInsertable {
int copied = 0;
T value;
- explicit EmplaceConstructibleAndMoveInsertable(T value) : value(value) {}
+ explicit EmplaceConstructibleAndMoveInsertable(T xvalue) : value(xvalue) {}
EmplaceConstructibleAndMoveInsertable(
EmplaceConstructibleAndMoveInsertable&& Other)
@@ -27,7 +27,7 @@ struct EmplaceConstructibleAndMoveable {
int copied = 0;
int assigned = 0;
T value;
- explicit EmplaceConstructibleAndMoveable(T value) noexcept : value(value) {}
+ explicit EmplaceConstructibleAndMoveable(T xvalue) noexcept : value(xvalue) {}
EmplaceConstructibleAndMoveable(EmplaceConstructibleAndMoveable&& Other)
noexcept : copied(Other.copied + 1),
@@ -47,8 +47,8 @@ struct EmplaceConstructibleMoveableAndAssignable {
int copied = 0;
int assigned = 0;
T value;
- explicit EmplaceConstructibleMoveableAndAssignable(T value) noexcept
- : value(value) {}
+ explicit EmplaceConstructibleMoveableAndAssignable(T xvalue) noexcept
+ : value(xvalue) {}
EmplaceConstructibleMoveableAndAssignable(
EmplaceConstructibleMoveableAndAssignable&& Other) noexcept