summaryrefslogtreecommitdiff
path: root/src/cpu/minor/buffers.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/minor/buffers.hh')
-rw-r--r--src/cpu/minor/buffers.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cpu/minor/buffers.hh b/src/cpu/minor/buffers.hh
index edf87dec5..a32e37493 100644
--- a/src/cpu/minor/buffers.hh
+++ b/src/cpu/minor/buffers.hh
@@ -381,6 +381,8 @@ class Reservable
/** Free a reserved slot */
virtual void freeReservation() = 0;
+
+ virtual ~Reservable() {};
};
/** Wrapper for a queue type to act as a pipeline stage input queue.
@@ -418,8 +420,6 @@ class Queue : public Named, public Reservable
dataName(data_name)
{ }
- virtual ~Queue() { }
-
public:
/** Push an element into the buffer if it isn't a bubble. Bubbles are
* just discarded. It is assummed that any push into a queue with