Copy constructor added to Login class
This commit is contained in:
parent
99406af6c7
commit
42f61a65bf
|
|
@ -40,6 +40,13 @@ public:
|
||||||
Login(const std::string &user, const std::string &password) :
|
Login(const std::string &user, const std::string &password) :
|
||||||
_user(user), _password(password) {}
|
_user(user), _password(password) {}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Copy constructor
|
||||||
|
* @param login
|
||||||
|
*/
|
||||||
|
Login(const Login &login) :
|
||||||
|
_user(login._user), _password(login._password) {}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue