Skip to content

Commit b227775

Browse files
committed
Fix request::swap coding style
1 parent d43fddf commit b227775

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

http/src/network/protocol/http/request/request.ipp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,8 @@ request& request::operator=(request rhs) {
162162
}
163163

164164
void request::swap(request& other ) {
165-
std::swap(pimpl_, other.pimpl_);
165+
using std::swap;
166+
swap(pimpl_, other.pimpl_);
166167
request_storage_base::swap(other);
167168
}
168169

0 commit comments

Comments
 (0)