Skip to content
Snippets Groups Projects
Forked from Alchemy Viewer / Alchemy Viewer
Source project has a limited visibility.
  • Nat Goodspeed's avatar
    cc3d21cc
    DRTVWR-558: Tweak LLEventDispatcher. · cc3d21cc
    Nat Goodspeed authored
    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)
    cc3d21cc
    History
    DRTVWR-558: Tweak LLEventDispatcher.
    Nat Goodspeed authored
    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)
Code owners
Assign users and groups as approvers for specific file changes. Learn more.