summaryrefslogtreecommitdiffstats
path: root/sd_event_loop.hpp
diff options
context:
space:
mode:
authorVernon Mauery <vernon.mauery@linux.intel.com>2018-10-25 09:16:05 -0700
committerVernon Mauery <vernon.mauery@linux.intel.com>2018-11-21 18:50:53 +0000
commitd999ffc12211f5d5c6cd2196dd525e69e2fc0f58 (patch)
treef79df7e8c5a2169048e8ed568fefae4912938f0c /sd_event_loop.hpp
parent127748a82ce1459a35d9886dc250697e78c24dd2 (diff)
downloadphosphor-net-ipmid-d999ffc12211f5d5c6cd2196dd525e69e2fc0f58.tar.gz
phosphor-net-ipmid-d999ffc12211f5d5c6cd2196dd525e69e2fc0f58.zip
netipmid: use shared_ptr on messages instead of unique_ptr+references
Messages were being created and held by unique_ptr objects and then shared via reference. This is dangerous and sidesteps the whole point of a unique_ptr, which is to enforce single ownership. This replaces the usage with a shared_ptr, which denotes shared ownership. Change-Id: I19ed2693f5a0f5ce47d720ed255fa05bdf3844f8 Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
Diffstat (limited to 'sd_event_loop.hpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud