diff options
author | Rider Linden <rider@lindenlab.com> | 2016-04-26 13:44:44 -0700 |
---|---|---|
committer | Rider Linden <rider@lindenlab.com> | 2016-04-26 13:44:44 -0700 |
commit | 66dd72459ae5ad17bfab622c71b2122233707dd4 (patch) | |
tree | 47f375fad8a3656d3e497370e9efc8ccaf43e405 /indra/llcommon/lleventcoro.cpp | |
parent | dd2311b993d137c538ca57b4360669db6d7fbfa0 (diff) |
MAINT-6336: Initialize TempBoundListener with constructor
Diffstat (limited to 'indra/llcommon/lleventcoro.cpp')
-rwxr-xr-x | indra/llcommon/lleventcoro.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llcommon/lleventcoro.cpp b/indra/llcommon/lleventcoro.cpp index c8c43dc334..2d5f964deb 100755 --- a/indra/llcommon/lleventcoro.cpp +++ b/indra/llcommon/lleventcoro.cpp @@ -244,8 +244,8 @@ LLSD llcoro::suspendUntilEventOnWithTimeout(const LLEventPumpOrPumpName& suspend LLEventTimeout timeoutPump; LLEventPump &suspendPump = suspendPumpOrName.getPump(); - LLTempBoundListener timeoutListener = timeoutPump.listen(suspendPump.getName(), - boost::bind(&LLEventPump::post, &suspendPump, _1)); + LLTempBoundListener timeoutListener(timeoutPump.listen(suspendPump.getName(), + boost::bind(&LLEventPump::post, &suspendPump, _1))); timeoutPump.eventAfter(timeoutin, timeoutResult); return llcoro::suspendUntilEventOn(suspendPump); |