X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/d21f2ae93e81aa5f8e1e596c7b4c04132199c6cc..45043ba8ae9d21f69209fcb74f1715d97e4fc409:/projects/sgauthstress/user.cpp?ds=sidebyside 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;