diff options
author | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2022-08-19 16:55:29 +0200 |
---|---|---|
committer | Thorbjørn Lindeijer <bjorn@lindeijer.nl> | 2022-08-19 17:34:55 +0200 |
commit | 109b602701578b9f2b29282f84bf2757544f8d32 (patch) | |
tree | a2fd70556c86385a75bfb7651e865beb0a05fd37 /src/game-server/emotemanager.cpp | |
parent | 6c6090991e17276de09f5f82d2fc8a6c1adf5bf4 (diff) | |
download | manaserv-109b602701578b9f2b29282f84bf2757544f8d32.tar.gz manaserv-109b602701578b9f2b29282f84bf2757544f8d32.tar.bz2 manaserv-109b602701578b9f2b29282f84bf2757544f8d32.tar.xz manaserv-109b602701578b9f2b29282f84bf2757544f8d32.zip |
Apply C++11 fixits
modernize-use-auto
modernize-use-nullptr
modernize-use-override
modernize-use-using
Diffstat (limited to 'src/game-server/emotemanager.cpp')
-rw-r--r-- | src/game-server/emotemanager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game-server/emotemanager.cpp b/src/game-server/emotemanager.cpp index c4128545..4c7e3680 100644 --- a/src/game-server/emotemanager.cpp +++ b/src/game-server/emotemanager.cpp @@ -61,8 +61,8 @@ void EmoteManager::checkStatus() bool EmoteManager::isIdAvailable(int id) const { - std::vector<int>::const_iterator it = mEmoteIds.begin(); - std::vector<int>::const_iterator it_end = mEmoteIds.end(); + auto it = mEmoteIds.begin(); + auto it_end = mEmoteIds.end(); for (; it != it_end; ++it) { if ((*it) == id) |