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::vector<std::string> &conns = registered_events[method];
|
||||
if(conns.size() > 0) {
|
||||
auto &iter = conns.begin();
|
||||
auto iter = conns.begin();
|
||||
while(iter != conns.end()) {
|
||||
RemoteCall((*iter), func, params);
|
||||
++iter;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user