-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviews.gem5.org/r/2441/
-----------------------------------------------------------

Review request for Default.


Repository: gem5


Description
-------

Changeset 10437:5fcc78956db8
---------------------------
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.


Diffs
-----

  src/kern/linux/printk.cc 28b31101d9e6 
  src/sim/arguments.hh 28b31101d9e6 

Diff: http://reviews.gem5.org/r/2441/diff/


Testing
-------


Thanks,

Andreas Hansson

_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to