summaryrefslogtreecommitdiff
path: root/src/net/gamehandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-20 21:19:59 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-20 21:19:59 +0300
commita9f6959a96395edc64ff57bf5ba1d75cca8e86c3 (patch)
treef6975bea7e87380ee7d063ccfb2efbc835341c91 /src/net/gamehandler.h
parent3e8fecc9a62afff0054fa0fa23af86c8ef15a1c9 (diff)
downloadManaVerse-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/gamehandler.h')
-rw-r--r--src/net/gamehandler.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/gamehandler.h b/src/net/gamehandler.h
index bd5d96664..fb41db678 100644
--- a/src/net/gamehandler.h
+++ b/src/net/gamehandler.h
@@ -34,11 +34,11 @@ class GameHandler notfinal
virtual ~GameHandler()
{}
- virtual void connect() = 0;
+ virtual void connect() const = 0;
virtual bool isConnected() const = 0;
- virtual void disconnect() = 0;
+ virtual void disconnect() const = 0;
virtual void who() const = 0;
@@ -56,7 +56,7 @@ class GameHandler notfinal
virtual void initEngines() const = 0;
- virtual void clear() = 0;
+ virtual void clear() const = 0;
};
} // namespace Net