summaryrefslogtreecommitdiff
path: root/src/net/loginhandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-12-26 13:57:32 +0300
committerAndrei Karas <akaras@inbox.ru>2013-12-26 13:57:32 +0300
commit27b760f3aa52b4ba9c4fd7e565343b35c1281755 (patch)
treebfd2a51b5fe0c5d62cff5557de47302436c25420 /src/net/loginhandler.h
parenta2971c05237aabe5b3d4027c7b6c2ffada6e9607 (diff)
downloadmv-27b760f3aa52b4ba9c4fd7e565343b35c1281755.tar.gz
mv-27b760f3aa52b4ba9c4fd7e565343b35c1281755.tar.bz2
mv-27b760f3aa52b4ba9c4fd7e565343b35c1281755.tar.xz
mv-27b760f3aa52b4ba9c4fd7e565343b35c1281755.zip
add restrict into loginhandler.
Diffstat (limited to 'src/net/loginhandler.h')
-rw-r--r--src/net/loginhandler.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/net/loginhandler.h b/src/net/loginhandler.h
index 229e9a4c6..481103c34 100644
--- a/src/net/loginhandler.h
+++ b/src/net/loginhandler.h
@@ -88,9 +88,10 @@ class LoginHandler
virtual void changeEmail(const std::string &email) const = 0;
- virtual void changePassword(const std::string &username,
- const std::string &oldPassword,
- const std::string &newPassword) const = 0;
+ virtual void changePassword(const std::string &restrict username,
+ const std::string &restrict oldPassword,
+ const std::string &restrict newPassword)
+ const = 0;
virtual void chooseServer(unsigned int server) const = 0;