]> git.stg.codes - stg.git/blobdiff - projects/sgauthstress/user.cpp
Move variables declaration to the beginning of the function (old C)
[stg.git] / projects / sgauthstress / user.cpp
index 808ff7aa2cb98c9b68621b476b59bfe35b7990c5..efe63af664bd181d407d8f6454a56e76dde9e917 100644 (file)
@@ -51,7 +51,7 @@ if (sock > 0)
     close(sock);
 }
 
-const USER & USER::operator=(const USER & rvalue)
+USER & USER::operator=(const USER & rvalue)
 {
 login = rvalue.login;
 password = rvalue.password;