summaryrefslogtreecommitdiff
path: root/src/gui/models/serverslistmodel.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-17 20:03:14 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-17 20:03:14 +0300
commit55480eb4477b2cf85af1bcdcc5e8ec4f4ce6682d (patch)
treeb1108bef76eed589fcb0028c4bd97f14510e940f /src/gui/models/serverslistmodel.h
parent72b9b0b8b7f3e0b60bf7a926b44aaa589dd131e8 (diff)
downloadmanaplus-55480eb4477b2cf85af1bcdcc5e8ec4f4ce6682d.tar.gz
manaplus-55480eb4477b2cf85af1bcdcc5e8ec4f4ce6682d.tar.bz2
manaplus-55480eb4477b2cf85af1bcdcc5e8ec4f4ce6682d.tar.xz
manaplus-55480eb4477b2cf85af1bcdcc5e8ec4f4ce6682d.zip
Remove override keyword, if it present with final.
Diffstat (limited to 'src/gui/models/serverslistmodel.h')
-rw-r--r--src/gui/models/serverslistmodel.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/models/serverslistmodel.h b/src/gui/models/serverslistmodel.h
index 15d3d7e9a..8b259f04c 100644
--- a/src/gui/models/serverslistmodel.h
+++ b/src/gui/models/serverslistmodel.h
@@ -53,7 +53,7 @@ class ServersListModel final : public ListModel
/**
* Used to get number of line in the list
*/
- int getNumberOfElements() override final A_WARN_UNUSED
+ int getNumberOfElements() final A_WARN_UNUSED
{
MutexLocker lock = mParent->lock();
return CAST_S32(mServers->size());
@@ -63,7 +63,7 @@ class ServersListModel final : public ListModel
* Used to get an element from the list
*/
std::string getElementAt(int elementIndex)
- override final A_WARN_UNUSED
+ final A_WARN_UNUSED
{
MutexLocker lock = mParent->lock();
const ServerInfo &server = mServers->at(elementIndex);