mirror of
https://github.com/anope/anope.git
synced 2026-07-01 02:06:37 +02:00
Use C++11's explicit override feature if available
This commit is contained in:
@@ -66,7 +66,7 @@ void SocketEngine::AddSocket(Socket *s)
|
||||
if (epoll_ctl(EngineHandle, EPOLL_CTL_ADD, ev.data.fd, &ev) == -1)
|
||||
throw SocketException("Unable to add fd " + stringify(ev.data.fd) + " to epoll: " + Anope::LastError());
|
||||
|
||||
Sockets.insert(std::make_pair(ev.data.fd, s));
|
||||
Sockets[ev.data.fd] = s;
|
||||
}
|
||||
|
||||
void SocketEngine::DelSocket(Socket *s)
|
||||
|
||||
Reference in New Issue
Block a user