summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-18 13:20:34 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-18 13:20:34 +0300
commit0c863b2e2cc7f5be6baa918c8fffb0ee44c02cc7 (patch)
treeaebc2d6eae2325c1c077849cc43f8ac07d6a76f6 /src/net/eathena
parent4b754c29f7fe0c7531fa6ce68a70a913e7172337 (diff)
downloadmv-0c863b2e2cc7f5be6baa918c8fffb0ee44c02cc7.tar.gz
mv-0c863b2e2cc7f5be6baa918c8fffb0ee44c02cc7.tar.bz2
mv-0c863b2e2cc7f5be6baa918c8fffb0ee44c02cc7.tar.xz
mv-0c863b2e2cc7f5be6baa918c8fffb0ee44c02cc7.zip
Add missing override keywords.
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/adminhandler.h2
-rw-r--r--src/net/eathena/buysellhandler.h2
-rw-r--r--src/net/eathena/charserverhandler.h2
-rw-r--r--src/net/eathena/guildhandler.h2
-rw-r--r--src/net/eathena/messagein.h6
-rw-r--r--src/net/eathena/messageout.h6
6 files changed, 10 insertions, 10 deletions
diff --git a/src/net/eathena/adminhandler.h b/src/net/eathena/adminhandler.h
index 363e6aceb..7faf9b383 100644
--- a/src/net/eathena/adminhandler.h
+++ b/src/net/eathena/adminhandler.h
@@ -69,7 +69,7 @@ class AdminHandler final : public MessageHandler, public Ea::AdminHandler
void requestLogin(const Being *const being) const override final;
void setTileType(const int x, const int y,
- const int type) const;
+ const int type) const override final;
void unequipAll(const Being *const being) const override final;
diff --git a/src/net/eathena/buysellhandler.h b/src/net/eathena/buysellhandler.h
index 4b151c2b1..9f2df6089 100644
--- a/src/net/eathena/buysellhandler.h
+++ b/src/net/eathena/buysellhandler.h
@@ -37,7 +37,7 @@ class BuySellHandler final : public MessageHandler, public Ea::BuySellHandler
A_DELETE_COPY(BuySellHandler)
- void handleMessage(Net::MessageIn &msg);
+ void handleMessage(Net::MessageIn &msg) override final;
static void processNpcBuy(Net::MessageIn &msg);
diff --git a/src/net/eathena/charserverhandler.h b/src/net/eathena/charserverhandler.h
index 0b424024a..b93b7f44a 100644
--- a/src/net/eathena/charserverhandler.h
+++ b/src/net/eathena/charserverhandler.h
@@ -70,7 +70,7 @@ class CharServerHandler final : public MessageHandler,
void processChangeMapServer(Net::MessageIn &msg);
- bool isNeedCreatePin() const A_WARN_UNUSED
+ bool isNeedCreatePin() const override final A_WARN_UNUSED
{ return mNeedCreatePin; }
void setNewPincode(const std::string &pin) override final;
diff --git a/src/net/eathena/guildhandler.h b/src/net/eathena/guildhandler.h
index 5925352f3..b2c37c9d7 100644
--- a/src/net/eathena/guildhandler.h
+++ b/src/net/eathena/guildhandler.h
@@ -71,7 +71,7 @@ class GuildHandler final : public Ea::GuildHandler, public MessageHandler
const std::string &restrict msg2)
const override final;
- void checkMaster() const;
+ void checkMaster() const override final;
protected:
static void processGuildUpdateCoords(Net::MessageIn &msg);
diff --git a/src/net/eathena/messagein.h b/src/net/eathena/messagein.h
index b1aacb59d..1a674e129 100644
--- a/src/net/eathena/messagein.h
+++ b/src/net/eathena/messagein.h
@@ -48,11 +48,11 @@ class MessageIn final : public Net::MessageIn
void postInit();
/**< Reads a short. */
- int16_t readInt16(const char *const str);
+ int16_t readInt16(const char *const str) override final;
/**< Reads a long. */
- int32_t readInt32(const char *const str);
+ int32_t readInt32(const char *const str) override final;
- int64_t readInt64(const char *const str);
+ int64_t readInt64(const char *const str) override final;
uint16_t readId();
};
diff --git a/src/net/eathena/messageout.h b/src/net/eathena/messageout.h
index fbdbc21e0..11b124e26 100644
--- a/src/net/eathena/messageout.h
+++ b/src/net/eathena/messageout.h
@@ -50,11 +50,11 @@ class MessageOut final : public Net::MessageOut
/**< Writes a short. */
void writeInt16(const int16_t value,
- const char *const str);
+ const char *const str) override final;
/**< Writes a long. */
void writeInt32(const int32_t value,
- const char *const str);
+ const char *const str) override final;
/**
* Encodes coordinates and direction in 3 bytes.
@@ -68,7 +68,7 @@ class MessageOut final : public Net::MessageOut
{ mPos = 0; }
private:
- void expand(const size_t size);
+ void expand(const size_t size) override final;
Network *mNetwork;
};