Skip to content

Commit cb491fa

Browse files
committed
Removed unused parameters from webserver class
1 parent 6d77ac5 commit cb491fa

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/httpserver/webserver.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,6 @@ class webserver
183183
std::map<details::http_endpoint, http_resource*> registered_resources;
184184
std::map<std::string, http_resource*> registered_resources_str;
185185

186-
int next_to_choose;
187186
std::set<http::ip_representation> bans;
188187
std::set<http::ip_representation> allowances;
189188

src/webserver.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,7 @@ webserver::webserver(const create_webserver& params):
151151
single_resource(params._single_resource),
152152
not_found_resource(params._not_found_resource),
153153
method_not_allowed_resource(params._method_not_allowed_resource),
154-
internal_error_resource(params._internal_error_resource),
155-
next_to_choose(0)
154+
internal_error_resource(params._internal_error_resource)
156155
{
157156
ignore_sigpipe();
158157
pthread_mutex_init(&mutexwait, NULL);

0 commit comments

Comments
 (0)