We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7dd7f8e commit a931edcCopy full SHA for a931edc
src/aws-cpp-sdk-core/source/utils/cbor/CborValue.cpp
@@ -38,14 +38,14 @@ CborValue& CborValue::operator=(const CborValue& other)
38
return *this;
39
}
40
41
-CborValue::CborValue(CborValue&& value) :
+CborValue::CborValue(CborValue&& value) noexcept :
42
m_body(std::move(value.m_body))
43
{
44
auto cursor = Aws::Crt::ByteCursorFromArray(reinterpret_cast<const uint8_t*>(m_body.c_str()), m_body.length());
45
m_decoder = std::make_shared<CborDecoder>(cursor);
46
47
48
-CborValue& CborValue::operator=(CborValue&& other)
+CborValue& CborValue::operator=(CborValue&& other) noexcept
49
50
if (this != &other) {
51
m_body = std::move(other.m_body);
0 commit comments