changeset 6ef6e5dbff2d in /z/repo/gem5 details: http://repo.gem5.org/gem5?cmd=changeset;node=6ef6e5dbff2d description: mem: Make the BaseXBar public to not confuse Python wrappers
The Python wrappers generally assume that destructors are public. Make the BaseXBar destructor public to avoid confusing the Python wrapper. Change-Id: If958802409c0be74e875dd6e279742abfdb3ede1 Signed-off-by: Andreas Sandberg <andreas.sandb...@arm.com> Reviewed-by: Nikos Nikoleris <nikos.nikole...@arm.com> Reviewed-by: Curtis Dunham <curtis.dun...@arm.com> diffstat: src/mem/xbar.hh | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diffs (21 lines): diff -r 7c95caf53250 -r 6ef6e5dbff2d src/mem/xbar.hh --- a/src/mem/xbar.hh Mon Dec 19 16:25:39 2016 +0000 +++ b/src/mem/xbar.hh Mon Dec 19 16:25:40 2016 +0000 @@ -439,8 +439,6 @@ BaseXBar(const BaseXBarParams *p); - virtual ~BaseXBar(); - /** * Stats for transaction distribution and data passing through the * crossbar. The transaction distribution is globally counting @@ -456,6 +454,8 @@ public: + virtual ~BaseXBar(); + virtual void init(); /** A function used to return the port associated with this object. */ _______________________________________________ gem5-dev mailing list gem5-dev@gem5.org http://m5sim.org/mailman/listinfo/gem5-dev