added const char * constructors to AMQP::Login class
This commit is contained in:
parent
173225071e
commit
5bb7b1a36f
|
|
@ -54,6 +54,14 @@ public:
|
||||||
Login(std::string user, std::string password) :
|
Login(std::string user, std::string password) :
|
||||||
_user(std::move(user)), _password(std::move(password)) {}
|
_user(std::move(user)), _password(std::move(password)) {}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constructor
|
||||||
|
* @param user
|
||||||
|
* @param password
|
||||||
|
*/
|
||||||
|
Login(const char *user, const char *password) :
|
||||||
|
_user(user), _password(password) {}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Destructor
|
* Destructor
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue