mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 06:21:28 +00:00
Remove c++17 construct, a bridge too far for now
This commit is contained in:
parent
597c4e8c60
commit
52276d06b0
@ -8,6 +8,10 @@
|
||||
|
||||
struct MethodHandlerEntry
|
||||
{
|
||||
MethodHandlerEntry() {
|
||||
status = 0;
|
||||
}
|
||||
|
||||
MethodHandlerEntry(EQ::Net::WebsocketServer::MethodHandler h, int s) {
|
||||
handler = h;
|
||||
status = s;
|
||||
@ -126,7 +130,7 @@ void EQ::Net::WebsocketServer::SetMethodHandler(const std::string &method, Metho
|
||||
return;
|
||||
}
|
||||
|
||||
_impl->methods.insert_or_assign(method, MethodHandlerEntry(handler, required_status));
|
||||
_impl->methods[method] = MethodHandlerEntry(handler, required_status);
|
||||
}
|
||||
|
||||
void EQ::Net::WebsocketServer::SetLoginHandler(LoginHandler handler)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user