Skip to content

Commit 64f4ef9

Browse files
committed
Fixes URI assignment.
1 parent f2970a7 commit 64f4ef9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

boost/network/uri/uri.hpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,9 @@ class BOOST_URI_DECL uri {
6464

6565
}
6666

67-
uri &operator = (const uri &other) {
68-
uri(other).swap(*this);
67+
uri &operator = (uri other) {
68+
other.swap(*this);
69+
parse();
6970
return *this;
7071
}
7172

0 commit comments

Comments
 (0)