diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2011-06-07 00:24:49 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2011-06-07 00:24:49 -0700 |
commit | a59a143a25bdc7d794cdcc8ebb6e8d2f37903015 (patch) | |
tree | 07e7bf82abce8e746baaa890ae9ef092ae7ec49f /src | |
parent | 3a083edc301327527d954c8cbc5489b9d80b222f (diff) | |
download | gem5-a59a143a25bdc7d794cdcc8ebb6e8d2f37903015.tar.xz |
gcc 4.0: Add some virtual destructors to make gcc 4.0 happy.
Diffstat (limited to 'src')
-rw-r--r-- | src/base/stats/output.hh | 1 | ||||
-rw-r--r-- | src/cpu/inorder/resource_pool.hh | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/base/stats/output.hh b/src/base/stats/output.hh index d45e32f77..26c4c5bbd 100644 --- a/src/base/stats/output.hh +++ b/src/base/stats/output.hh @@ -46,6 +46,7 @@ class FormulaInfo; struct Output { + virtual ~Output() {} virtual void begin() = 0; virtual void end() = 0; virtual bool valid() const = 0; diff --git a/src/cpu/inorder/resource_pool.hh b/src/cpu/inorder/resource_pool.hh index 9d9439665..b42011091 100644 --- a/src/cpu/inorder/resource_pool.hh +++ b/src/cpu/inorder/resource_pool.hh @@ -122,7 +122,7 @@ class ResourcePool { public: ResourcePool(InOrderCPU *_cpu, ThePipeline::Params *params); - ~ResourcePool(); + virtual ~ResourcePool(); std::string name(); |