mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Mark some move and move-assignment ctors noexcept
This commit is contained in:
@@ -126,7 +126,7 @@ class ClosureCounter_test : public beast::unit_test::suite
|
||||
, str (rhs.str) {}
|
||||
|
||||
// Move constructor
|
||||
TrackedString (TrackedString&& rhs)
|
||||
TrackedString (TrackedString&& rhs) noexcept
|
||||
: copies (rhs.copies)
|
||||
, moves (rhs.moves + 1)
|
||||
, str (std::move(rhs.str)) {}
|
||||
|
||||
Reference in New Issue
Block a user