summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/base/stats/output.hh1
-rw-r--r--src/cpu/inorder/resource_pool.hh2
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();