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/tmwa/generalhandler.cpp | |
parent | 3e8fecc9a62afff0054fa0fa23af86c8ef15a1c9 (diff) | |
download | manaplus-a9f6959a96395edc64ff57bf5ba1d75cca8e86c3.tar.gz manaplus-a9f6959a96395edc64ff57bf5ba1d75cca8e86c3.tar.bz2 manaplus-a9f6959a96395edc64ff57bf5ba1d75cca8e86c3.tar.xz manaplus-a9f6959a96395edc64ff57bf5ba1d75cca8e86c3.zip |
Add missing const in net directory.
Diffstat (limited to 'src/net/tmwa/generalhandler.cpp')
-rw-r--r-- | src/net/tmwa/generalhandler.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/net/tmwa/generalhandler.cpp b/src/net/tmwa/generalhandler.cpp index 72b533b9f..bc6029a94 100644 --- a/src/net/tmwa/generalhandler.cpp +++ b/src/net/tmwa/generalhandler.cpp @@ -147,7 +147,7 @@ GeneralHandler::~GeneralHandler() delete2(Network::mInstance); } -void GeneralHandler::load() +void GeneralHandler::load() const { new Network; Network::mInstance->registerHandlers(); @@ -176,7 +176,7 @@ void GeneralHandler::unload() clearHandlers(); } -void GeneralHandler::flushSend() +void GeneralHandler::flushSend() const { if (!Network::mInstance) return; @@ -184,7 +184,7 @@ void GeneralHandler::flushSend() Network::mInstance->flush(); } -void GeneralHandler::flushNetwork() +void GeneralHandler::flushNetwork() const { if (!Network::mInstance) return; @@ -212,7 +212,7 @@ void GeneralHandler::flushNetwork() BLOCK_END("GeneralHandler::flushNetwork 3") } -void GeneralHandler::clearHandlers() +void GeneralHandler::clearHandlers() const { if (Network::mInstance) Network::mInstance->clearHandlers(); |