File tree Expand file tree Collapse file tree
varianttest/include/aws/varianttest Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -35,11 +35,17 @@ namespace Aws
3535 /* Failure case - variant with move-only type and copyable type */
3636 using FailResultVariantType = Aws::Crt::Variant<Crt::ScopedResource<Crt::String>, TestError>;
3737
38- class AWS_VARIANTTEST_API FailVariantTestResult
38+ class FailVariantTestResult
3939 {
4040 public:
41- FailVariantTestResult () noexcept {};
42- FailVariantTestResult (FailResultVariantType &&result) noexcept : m_result(std::move(result)) {}
41+ FailVariantTestResult () noexcept = default ;
42+ explicit FailVariantTestResult (FailResultVariantType &&result) noexcept : m_result(std::move(result)) {}
43+
44+ FailVariantTestResult (FailVariantTestResult &&) noexcept = default ;
45+ FailVariantTestResult &operator =(FailVariantTestResult &&) noexcept = default ;
46+
47+ FailVariantTestResult (const FailVariantTestResult &) = delete ;
48+ FailVariantTestResult &operator =(const FailVariantTestResult &) = delete ;
4349
4450 Crt::String *GetFirst () const noexcept
4551 {
You can’t perform that action at this time.
0 commit comments