summaryrefslogtreecommitdiffhomepage
path: root/websocket.h
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2023-01-11 19:00:26 +0100
committerRoland Reichwein <mail@reichwein.it>2023-01-11 19:00:26 +0100
commit2f8a7cce46603755cc44dd16907030ae0b778635 (patch)
tree0f3d4cf464101588b1713b90421041f51bf0ec4d /websocket.h
parentdeb28a9ce73ed7e38aaa53659027b61976fdca6b (diff)
Remove unneccessary template
Diffstat (limited to 'websocket.h')
-rw-r--r--websocket.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/websocket.h b/websocket.h
index b941433..e3c2b30 100644
--- a/websocket.h
+++ b/websocket.h
@@ -99,9 +99,7 @@ public:
//
// Start the asynchronous accept operation
- // TODO: why template here?
- template<class Body, class Allocator>
- void do_accept_in(http::request<Body, http::basic_fields<Allocator>> req)
+ void do_accept_in(request_type req)
{
// Set suggested timeout settings for the websocket
derived().ws_in().set_option(