base: Use shared_ptr for stat Node
authorAndreas Hansson <andreas.hansson@arm.com>
Thu, 16 Oct 2014 09:49:48 +0000 (05:49 -0400)
committerAndreas Hansson <andreas.hansson@arm.com>
Thu, 16 Oct 2014 09:49:48 +0000 (05:49 -0400)
commitacdfcad30de8dcf59515b688a1310ba2c1ca6947
treefe9f3b7466928c00291b0f843fcf75eb37f2c55a
parent8b789ae451aa0b756b4e192629c78c3bcea34cdd
base: Use shared_ptr for stat Node

This patch transitions the stat Node and its derived classes from
the ad-hoc RefCountingPtr to the c++11 shared_ptr. There are no
changes in behaviour, and the code modifications are mainly replacing
"new" with "make_shared".
src/base/statistics.hh