BString: make move constructor and assignment noexcept
Change-Id: I87f5ecad22f46b59386a091a1bb502536f460315
This commit is contained in:
@@ -96,7 +96,7 @@
|
||||
|
||||
#if __cplusplus >= 201103L
|
||||
/*!
|
||||
\fn BString::BString(BString&& string)
|
||||
\fn BString::BString(BString&& string) noexcept
|
||||
\brief Move the data from the \a string to this object.
|
||||
|
||||
Create a new string object with the data of another \a string. The
|
||||
@@ -287,7 +287,7 @@
|
||||
|
||||
#if __cplusplus >= 201103L
|
||||
/*!
|
||||
\fn BString& BString::operator=(BString&& string)
|
||||
\fn BString& BString::operator=(BString&& string) noexcept
|
||||
\brief Move the contents of \a string to this BString object.
|
||||
|
||||
The \a string will no longer point to the same contents.
|
||||
|
||||
Reference in New Issue
Block a user