Skip to content

Commit 1bfab89

Browse files
FrodeFrode
Frode
authored and
Frode
committed
Explicit use of this in lambda
1 parent 770cacc commit 1bfab89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

boost/network/protocol/http/server/async_connection.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ struct async_connection
579579
}
580580
new_start = std::end(result_range);
581581
auto self = this->shared_from_this();
582-
thread_pool().post([this, self] { handler(request_, self); });
582+
thread_pool().post([this, self] { this->handler(this->request_, self); });
583583
return;
584584
} else {
585585
partial_parsed.append(std::begin(result_range),

0 commit comments

Comments
 (0)