Mercurial > hg > svcore
changeset 1695:cd6be949a16a single-point
More compiler warning fixes
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Thu, 25 Apr 2019 17:06:33 +0100 |
parents | a9d0b5a2c242 |
children | 187c76c40c6f |
files | data/model/PathModel.h data/model/TextModel.h |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/data/model/PathModel.h Thu Apr 25 15:55:51 2019 +0100 +++ b/data/model/PathModel.h Thu Apr 25 17:06:33 2019 +0100 @@ -77,7 +77,7 @@ } QString getTypeName() const override { return tr("Path"); } - bool isSparse() const { return true; } + bool isSparse() const override { return true; } bool isOK() const override { return true; } sv_frame_t getStartFrame() const override { @@ -90,7 +90,7 @@ sv_samplerate_t getSampleRate() const override { return m_sampleRate; } int getResolution() const { return m_resolution; } - int getCompletion() const { return m_completion; } + int getCompletion() const override { return m_completion; } void setCompletion(int completion, bool update = true) {
--- a/data/model/TextModel.h Thu Apr 25 15:55:51 2019 +0100 +++ b/data/model/TextModel.h Thu Apr 25 17:06:33 2019 +0100 @@ -53,7 +53,7 @@ } QString getTypeName() const override { return tr("Text"); } - bool isSparse() const { return true; } + bool isSparse() const override { return true; } bool isOK() const override { return true; } sv_frame_t getStartFrame() const override {