mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-14 19:51:29 +00:00
Wrong iter type fails on gcc 4.6
This commit is contained in:
parent
240b066f34
commit
adc740da5a
@ -99,7 +99,7 @@ void RemoteCallSubscriptionHandler::OnEvent(std::string method, std::vector<std:
|
|||||||
std::string func = "On." + method;
|
std::string func = "On." + method;
|
||||||
std::vector<std::string> &conns = registered_events[method];
|
std::vector<std::string> &conns = registered_events[method];
|
||||||
if(conns.size() > 0) {
|
if(conns.size() > 0) {
|
||||||
auto &iter = conns.begin();
|
auto iter = conns.begin();
|
||||||
while(iter != conns.end()) {
|
while(iter != conns.end()) {
|
||||||
RemoteCall((*iter), func, params);
|
RemoteCall((*iter), func, params);
|
||||||
++iter;
|
++iter;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user