Skip to content

Commit c0f7444

Browse files
author
eakraly
committed
Fix uri swap crash
1 parent cc1d5ea commit c0f7444

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

boost/network/uri/uri.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ class BOOST_URI_DECL uri {
8787

8888
void swap(uri &other) {
8989
boost::swap(uri_, other.uri_);
90-
boost::swap(uri_parts_, other.uri_parts_);
90+
other.parse();
9191
boost::swap(is_valid_, other.is_valid_);
9292
}
9393

0 commit comments

Comments
 (0)