Skip to content

Commit a145c18

Browse files
committed
Align with new interface
1 parent 4282ca0 commit a145c18

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/benchmark_select.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class hello_world_resource : public http_resource {
1414
{
1515
}
1616

17-
const std::shared_ptr<http_response> render(const http_request&) {
17+
const std::shared_ptr<http_response> render(http_request&) {
1818
return resp;
1919
}
2020

examples/benchmark_threads.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class hello_world_resource : public http_resource {
1414
{
1515
}
1616

17-
const std::shared_ptr<http_response> render(const http_request&) {
17+
const std::shared_ptr<http_response> render(http_request&) {
1818
return resp;
1919
}
2020

0 commit comments

Comments
 (0)