diff options
author | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-06-30 20:13:51 +0200 |
---|---|---|
committer | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-06-30 20:13:51 +0200 |
commit | 2408ca900657fdb81f85092a0612aeb6217fbe0f (patch) | |
tree | 6d2ea3953704adf34d92fdfc25fc647957bd7471 /qtmips_gui/programmodel.h | |
parent | 9dc519887f61ae33ff82bb125fb69398503f91f6 (diff) | |
download | qtmips-2408ca900657fdb81f85092a0612aeb6217fbe0f.tar.gz qtmips-2408ca900657fdb81f85092a0612aeb6217fbe0f.tar.bz2 qtmips-2408ca900657fdb81f85092a0612aeb6217fbe0f.zip |
Use override to make newer versions of C++ compiler happy.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'qtmips_gui/programmodel.h')
-rw-r--r-- | qtmips_gui/programmodel.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qtmips_gui/programmodel.h b/qtmips_gui/programmodel.h index d458eef..a2eff4b 100644 --- a/qtmips_gui/programmodel.h +++ b/qtmips_gui/programmodel.h @@ -51,8 +51,8 @@ public: int columnCount(const QModelIndex &parent = QModelIndex()) const override; QVariant headerData(int section, Qt::Orientation orientation, int role) const override; QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override; - Qt::ItemFlags flags(const QModelIndex &index) const; - bool setData(const QModelIndex & index, const QVariant & value, int role); + Qt::ItemFlags flags(const QModelIndex &index) const override; + bool setData(const QModelIndex & index, const QVariant & value, int role) override; bool adjustRowAndOffset(int &row, std::uint32_t address); void update_all(); |