aboutsummaryrefslogtreecommitdiffstats
path: root/test/std/utilities/optional/optional.object/optional.object.ctor/move.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/std/utilities/optional/optional.object/optional.object.ctor/move.pass.cpp')
-rw-r--r--test/std/utilities/optional/optional.object/optional.object.ctor/move.pass.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/std/utilities/optional/optional.object/optional.object.ctor/move.pass.cpp b/test/std/utilities/optional/optional.object/optional.object.ctor/move.pass.cpp
index 55c2156300fb..e73f3747c435 100644
--- a/test/std/utilities/optional/optional.object/optional.object.ctor/move.pass.cpp
+++ b/test/std/utilities/optional/optional.object/optional.object.ctor/move.pass.cpp
@@ -55,10 +55,10 @@ constexpr bool constexpr_test(InitArgs&&... args)
void test_throwing_ctor() {
#ifndef TEST_HAS_NO_EXCEPTIONS
struct Z {
- Z() : count(0) {}
- Z(Z&& o) : count(o.count + 1)
- { if (count == 2) throw 6; }
- int count;
+ Z() : count(0) {}
+ Z(Z&& o) : count(o.count + 1)
+ { if (count == 2) throw 6; }
+ int count;
};
Z z;
optional<Z> rhs(std::move(z));