BString: make move constructor and assignment noexcept

Change-Id: I87f5ecad22f46b59386a091a1bb502536f460315
This commit is contained in:
Niels Sascha Reedijk
2021-12-17 16:25:44 +00:00
parent 70b63f18b3
commit bcd6a663c2
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -23,7 +23,7 @@ public:
BString(const BString& string);
BString(const char* string, int32 maxLength);
#if __cplusplus >= 201103L
BString(BString&& string);
BString(BString&& string) noexcept;
#endif
~BString();
@@ -43,7 +43,7 @@ public:
BString& operator=(const char* string);
BString& operator=(char c);
#if __cplusplus >= 201103L
BString& operator=(BString&& string);
BString& operator=(BString&& string) noexcept;
#endif
BString& SetTo(const char* string);