diff options
Diffstat (limited to 'src/net/ea')
-rw-r--r-- | src/net/ea/loginhandler.cpp | 2 | ||||
-rw-r--r-- | src/net/ea/loginhandler.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/net/ea/loginhandler.cpp b/src/net/ea/loginhandler.cpp index 23f9f91c0..59d72dd78 100644 --- a/src/net/ea/loginhandler.cpp +++ b/src/net/ea/loginhandler.cpp @@ -121,7 +121,7 @@ void LoginHandler::registerAccount(LoginData *const loginData1) const sendLoginRegister(username, loginData1->password, loginData1->email); } -Worlds LoginHandler::getWorlds() const +const Worlds &LoginHandler::getWorlds() const { return mWorlds; } diff --git a/src/net/ea/loginhandler.h b/src/net/ea/loginhandler.h index 994029247..e84da5ce4 100644 --- a/src/net/ea/loginhandler.h +++ b/src/net/ea/loginhandler.h @@ -60,7 +60,7 @@ class LoginHandler : public Net::LoginHandler virtual void registerAccount(LoginData *const loginData) const override; - virtual Worlds getWorlds() const override A_WARN_UNUSED; + virtual const Worlds &getWorlds() const override A_WARN_UNUSED; virtual void clearWorlds() override; |