diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2015-05-29 16:37:15 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2015-05-29 16:37:15 -0400 |
commit | ccc55255c57f8449aa46cd8847dbda1ced1e851f (patch) | |
tree | 4c6843f3058e6bb72ca80ab55b0c41e497dd72ca /indra/llcommon/tests | |
parent | a9650ba22219d91438d91fd9371966f510884cbf (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.cpp | 2 |
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); |