summaryrefslogtreecommitdiff
path: root/indra/llcommon/lleventcoro.cpp
diff options
context:
space:
mode:
authorRider Linden <rider@lindenlab.com>2016-04-26 13:44:44 -0700
committerRider Linden <rider@lindenlab.com>2016-04-26 13:44:44 -0700
commit66dd72459ae5ad17bfab622c71b2122233707dd4 (patch)
tree47f375fad8a3656d3e497370e9efc8ccaf43e405 /indra/llcommon/lleventcoro.cpp
parentdd2311b993d137c538ca57b4360669db6d7fbfa0 (diff)
MAINT-6336: Initialize TempBoundListener with constructor
Diffstat (limited to 'indra/llcommon/lleventcoro.cpp')
-rwxr-xr-xindra/llcommon/lleventcoro.cpp4
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);