diff options
author | Andreas Hansson <andreas.hansson@arm.com> | 2014-10-16 05:49:45 -0400 |
---|---|---|
committer | Andreas Hansson <andreas.hansson@arm.com> | 2014-10-16 05:49:45 -0400 |
commit | 4e67ab6663f8f4960a1078546906746877f87e1a (patch) | |
tree | cf219b3ca01604fe22169c28af237f0fe373a106 /src/dev/etherlink.cc | |
parent | 247586274724ea9f2a22a87747c9e074870d16a8 (diff) | |
download | gem5-4e67ab6663f8f4960a1078546906746877f87e1a.tar.xz |
dev: Use shared_ptr for Arguments::Data
This patch takes a first few steps in transitioning from the ad-hoc
RefCountingPtr to the c++11 shared_ptr. There are no changes in
behaviour, and the code modifications are mainly introducing the
use of make_shared.
Note that the class could use unique_ptr rather than shared_ptr, was
it not for the postfix increment and decrement operators.
Diffstat (limited to 'src/dev/etherlink.cc')
0 files changed, 0 insertions, 0 deletions