summaryrefslogtreecommitdiff
path: root/indra/llcommon/llatomic.cpp
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2022-12-20 09:53:58 -0500
committerNat Goodspeed <nat@lindenlab.com>2023-07-13 12:34:31 -0400
commitcc3d21cceac7d6c1b2fc9297330fa819855f6e5b (patch)
tree785ba0cde81b2719e003800cd4dca6096e8724a5 /indra/llcommon/llatomic.cpp
parent8855a82f512286bce6bd131d87dcafd303f2a5f6 (diff)
DRTVWR-558: Tweak LLEventDispatcher.
Instead of std::map<std::string, boost::shared_ptr>, use std::unique_ptr as the mapped_type, using emplace() to store new entries. This more correctly captures the desired semantics: we have no intention of passing around the pointers in the map, we just want the map to delete them on destruction. Use std::function instead of boost::function. (cherry picked from commit 7ba53ef82db5683756e296225f0c8b838420a26e)
Diffstat (limited to 'indra/llcommon/llatomic.cpp')
0 files changed, 0 insertions, 0 deletions