X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/d21f2ae93e81aa5f8e1e596c7b4c04132199c6cc..5e7cbf1bbd282c0b18a09c5e77e237a4e20f6e32:/projects/sgauthstress/user.cpp?ds=inline diff --git a/projects/sgauthstress/user.cpp b/projects/sgauthstress/user.cpp index 808ff7aa..944907fe 100644 --- a/projects/sgauthstress/user.cpp +++ b/projects/sgauthstress/user.cpp @@ -1,5 +1,7 @@ +#include #include #include +#include // close #include #include @@ -51,7 +53,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;