diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2022-12-20 09:53:58 -0500 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2023-07-13 12:34:31 -0400 |
commit | cc3d21cceac7d6c1b2fc9297330fa819855f6e5b (patch) | |
tree | 785ba0cde81b2719e003800cd4dca6096e8724a5 /indra/llcommon/lockstatic.h | |
parent | 8855a82f512286bce6bd131d87dcafd303f2a5f6 (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/lockstatic.h')
0 files changed, 0 insertions, 0 deletions