mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-14 15:05:35 +02:00
fixed delegates error
This commit is contained in:
@@ -483,9 +483,9 @@ bool Utility::writeJSEvent(std::ostream& out, const std::string& eventName, cons
|
||||
{
|
||||
// TODO: we can optimize here a bit by avoiding the copy
|
||||
std::list<JSDelegate> dels;
|
||||
std::list<JSDelegate>::const_iterator it = dels.begin();
|
||||
std::list<JSDelegate>::const_iterator it = delegates.begin();
|
||||
bool written = false;
|
||||
for (; it != dels.end(); ++it, --serverCallPos)
|
||||
for (; it != delegates.end(); ++it, --serverCallPos)
|
||||
{
|
||||
if (serverCallPos == 0)
|
||||
{
|
||||
|
Reference in New Issue
Block a user