From dd996d01676d7dca3eec442b14c4966ba0bb0935 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 10 Oct 2012 01:40:58 +0300 Subject: Delete copy constructor from net classes. --- src/net/logindata.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/net/logindata.h') diff --git a/src/net/logindata.h b/src/net/logindata.h index 8988c5890..3d8a2bea3 100644 --- a/src/net/logindata.h +++ b/src/net/logindata.h @@ -30,7 +30,7 @@ class LoginData final { public: - LoginData(): + LoginData() : username(""), password(""), newPassword(""), @@ -45,6 +45,8 @@ class LoginData final resetCharacterSlots(); } + A_DELETE_COPY(LoginData); + enum UpdateType { Upd_Normal = 0, -- cgit v1.2.3-70-g09d2