summaryrefslogtreecommitdiff
path: root/indra/llcommon/tests
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2015-05-29 16:37:15 -0400
committerNat Goodspeed <nat@lindenlab.com>2015-05-29 16:37:15 -0400
commitccc55255c57f8449aa46cd8847dbda1ced1e851f (patch)
tree4c6843f3058e6bb72ca80ab55b0c41e497dd72ca /indra/llcommon/tests
parenta9650ba22219d91438d91fd9371966f510884cbf (diff)
MAINT-5232: Make LLPounceable noncopyable.
Changing the queue-of-callables implementation to boost::signals2::signal, which is noncopyable, means that LLPounceable itself should be noncopyable.
Diffstat (limited to 'indra/llcommon/tests')
-rw-r--r--indra/llcommon/tests/llpounceable_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llcommon/tests/llpounceable_test.cpp b/indra/llcommon/tests/llpounceable_test.cpp
index 25458865a6..2f4915ce11 100644
--- a/indra/llcommon/tests/llpounceable_test.cpp
+++ b/indra/llcommon/tests/llpounceable_test.cpp
@@ -147,7 +147,7 @@ namespace tut
Data a("a");
// should be able to initialize a pounceable (when its constructor
// runs)
- LLPounceable<Data*> pounceable = &a;
+ LLPounceable<Data*> pounceable(&a);
// should be able to pass LLPounceable<T> to function accepting T
setter(&aptr, pounceable);
ensure_equals("aptr should be &a", aptr, &a);