mirror of
https://github.com/anope/anope.git
synced 2026-06-28 23:26:39 +02:00
Use C++11's explicit override feature if available
This commit is contained in:
@@ -75,8 +75,8 @@ void SocketEngine::AddSocket(Socket *s)
|
||||
ev->events = POLLIN;
|
||||
ev->revents = 0;
|
||||
|
||||
Sockets.insert(std::make_pair(ev->fd, s));
|
||||
socket_positions.insert(std::make_pair(ev->fd, SocketCount));
|
||||
Sockets[ev->fd] = s;
|
||||
socket_positions[ev->fd] = SocketCount;
|
||||
|
||||
++SocketCount;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user