diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-04-02 12:26:23 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-04-02 12:26:23 +0300 |
commit | 124e28787a66fc1ae882afbb5711b08620b51563 (patch) | |
tree | 5f172652494234e6caae74cf04a2cd4d0083cbf0 /src/gui/models | |
parent | 48746ecb8cd94270f143cc7d722188d2e77c3101 (diff) | |
download | mv-124e28787a66fc1ae882afbb5711b08620b51563.tar.gz mv-124e28787a66fc1ae882afbb5711b08620b51563.tar.bz2 mv-124e28787a66fc1ae882afbb5711b08620b51563.tar.xz mv-124e28787a66fc1ae882afbb5711b08620b51563.zip |
Remove useless virtual keywords.
Diffstat (limited to 'src/gui/models')
-rw-r--r-- | src/gui/models/colormodel.h | 4 | ||||
-rw-r--r-- | src/gui/models/extendednamesmodel.h | 6 | ||||
-rw-r--r-- | src/gui/models/namesmodel.h | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/src/gui/models/colormodel.h b/src/gui/models/colormodel.h index 786e2330a..81d8d8cbe 100644 --- a/src/gui/models/colormodel.h +++ b/src/gui/models/colormodel.h @@ -41,9 +41,9 @@ class ColorModel final : public ListModel virtual ~ColorModel(); - virtual int getNumberOfElements() override final A_WARN_UNUSED; + int getNumberOfElements() override final A_WARN_UNUSED; - virtual std::string getElementAt(int i) override final A_WARN_UNUSED; + std::string getElementAt(int i) override final A_WARN_UNUSED; virtual const ColorPair *getColorAt(const int i) const A_WARN_UNUSED; diff --git a/src/gui/models/extendednamesmodel.h b/src/gui/models/extendednamesmodel.h index d0ff7aab0..76f30bf8f 100644 --- a/src/gui/models/extendednamesmodel.h +++ b/src/gui/models/extendednamesmodel.h @@ -34,11 +34,11 @@ class ExtendedNamesModel notfinal : public ExtendedListModel virtual ~ExtendedNamesModel(); - virtual int getNumberOfElements() override final A_WARN_UNUSED; + int getNumberOfElements() override final A_WARN_UNUSED; - virtual std::string getElementAt(int i) override final A_WARN_UNUSED; + std::string getElementAt(int i) override final A_WARN_UNUSED; - virtual const Image *getImageAt(int i) override final A_WARN_UNUSED; + const Image *getImageAt(int i) override final A_WARN_UNUSED; StringVect &getNames() A_WARN_UNUSED { return mNames; } diff --git a/src/gui/models/namesmodel.h b/src/gui/models/namesmodel.h index f4bffbdf7..096998992 100644 --- a/src/gui/models/namesmodel.h +++ b/src/gui/models/namesmodel.h @@ -36,9 +36,9 @@ class NamesModel notfinal : public ListModel virtual ~NamesModel(); - virtual int getNumberOfElements() override final A_WARN_UNUSED; + int getNumberOfElements() override final A_WARN_UNUSED; - virtual std::string getElementAt(int i) override final A_WARN_UNUSED; + std::string getElementAt(int i) override final A_WARN_UNUSED; StringVect &getNames() A_WARN_UNUSED { return mNames; } |