gcc 4.0: Add some virtual destructors to make gcc 4.0 happy.

This commit is contained in:
Gabe Black
2011-06-07 00:24:49 -07:00
parent 3a083edc30
commit a59a143a25
2 changed files with 2 additions and 1 deletions

View File

@@ -46,6 +46,7 @@ class FormulaInfo;
struct Output
{
virtual ~Output() {}
virtual void begin() = 0;
virtual void end() = 0;
virtual bool valid() const = 0;

View File

@@ -122,7 +122,7 @@ class ResourcePool {
public:
ResourcePool(InOrderCPU *_cpu, ThePipeline::Params *params);
~ResourcePool();
virtual ~ResourcePool();
std::string name();