summaryrefslogtreecommitdiff
path: root/src/base
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2011-06-07 00:24:49 -0700
committerGabe Black <gblack@eecs.umich.edu>2011-06-07 00:24:49 -0700
commita59a143a25bdc7d794cdcc8ebb6e8d2f37903015 (patch)
tree07e7bf82abce8e746baaa890ae9ef092ae7ec49f /src/base
parent3a083edc301327527d954c8cbc5489b9d80b222f (diff)
downloadgem5-a59a143a25bdc7d794cdcc8ebb6e8d2f37903015.tar.xz
gcc 4.0: Add some virtual destructors to make gcc 4.0 happy.
Diffstat (limited to 'src/base')
-rw-r--r--src/base/stats/output.hh1
1 files changed, 1 insertions, 0 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;