Skip to content

Commit a198433

Browse files
committed
Added noexcept modifier to move assignment operator
1 parent 6811822 commit a198433

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/skyr/url.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ class url {
162162
/// Move assignment operator
163163
/// \param other Another `url` object
164164
/// \return *this
165-
url &operator=(url&& other) {
165+
url &operator=(url&& other) noexcept {
166166
auto tmp(other);
167167
swap(tmp);
168168
return *this;

0 commit comments

Comments
 (0)