aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui/cacheview.h
diff options
context:
space:
mode:
Diffstat (limited to 'qtmips_gui/cacheview.h')
-rw-r--r--qtmips_gui/cacheview.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/qtmips_gui/cacheview.h b/qtmips_gui/cacheview.h
index 0b11a2b..084dd8a 100644
--- a/qtmips_gui/cacheview.h
+++ b/qtmips_gui/cacheview.h
@@ -48,7 +48,7 @@ class CacheAddressBlock : public QGraphicsObject {
public:
CacheAddressBlock(const machine::Cache *cache, unsigned width);
- QRectF boundingRect() const;
+ QRectF boundingRect() const override;
virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) override;
@@ -69,7 +69,7 @@ public:
CacheViewBlock(const machine::Cache *cache, unsigned block, bool last);
~CacheViewBlock();
- QRectF boundingRect() const;
+ QRectF boundingRect() const override;
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget) override;