diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-20 21:19:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-20 21:19:59 +0300 |
commit | a9f6959a96395edc64ff57bf5ba1d75cca8e86c3 (patch) | |
tree | f6975bea7e87380ee7d063ccfb2efbc835341c91 /src/net/ea/charserverhandler.cpp | |
parent | 3e8fecc9a62afff0054fa0fa23af86c8ef15a1c9 (diff) | |
download | manaverse-a9f6959a96395edc64ff57bf5ba1d75cca8e86c3.tar.gz manaverse-a9f6959a96395edc64ff57bf5ba1d75cca8e86c3.tar.bz2 manaverse-a9f6959a96395edc64ff57bf5ba1d75cca8e86c3.tar.xz manaverse-a9f6959a96395edc64ff57bf5ba1d75cca8e86c3.zip |
Add missing const in net directory.
Diffstat (limited to 'src/net/ea/charserverhandler.cpp')
-rw-r--r-- | src/net/ea/charserverhandler.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/ea/charserverhandler.cpp b/src/net/ea/charserverhandler.cpp index 75d83f490..28ed96bab 100644 --- a/src/net/ea/charserverhandler.cpp +++ b/src/net/ea/charserverhandler.cpp @@ -44,6 +44,7 @@ CharServerHandler::CharServerHandler() : } void CharServerHandler::setCharSelectDialog(CharSelectDialog *const window) + const { mCharSelectDialog = window; updateCharSelectDialog(); @@ -69,7 +70,7 @@ unsigned int CharServerHandler::maxSprite() const return EA_SPRITE_VECTOREND; } -void CharServerHandler::clear() +void CharServerHandler::clear() const { delete_all(mCharacters); mCharacters.clear(); |