changeset 4d1005f78496 in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=4d1005f78496
description:
gcc 4.0: Add some virtual destructors to make gcc 4.0 happy.
diffstat:
src/base/stats/output.hh | 1 +
src/cpu/inorder/resource_pool.hh | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
diffs (23 lines):
diff -r b9ba22cb23f2 -r 4d1005f78496 src/base/stats/output.hh
--- a/src/base/stats/output.hh Fri Jun 03 13:52:18 2011 -0500
+++ b/src/base/stats/output.hh Tue Jun 07 00:24:49 2011 -0700
@@ -46,6 +46,7 @@
struct Output
{
+ virtual ~Output() {}
virtual void begin() = 0;
virtual void end() = 0;
virtual bool valid() const = 0;
diff -r b9ba22cb23f2 -r 4d1005f78496 src/cpu/inorder/resource_pool.hh
--- a/src/cpu/inorder/resource_pool.hh Fri Jun 03 13:52:18 2011 -0500
+++ b/src/cpu/inorder/resource_pool.hh Tue Jun 07 00:24:49 2011 -0700
@@ -122,7 +122,7 @@
public:
ResourcePool(InOrderCPU *_cpu, ThePipeline::Params *params);
- ~ResourcePool();
+ virtual ~ResourcePool();
std::string name();
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev