extra Address constructor added

This commit is contained in:
Emiel Bruijntjes 2015-11-01 12:17:33 +01:00
parent 6061d853c7
commit 9e08c6932f
1 changed files with 6 additions and 0 deletions

View File

@ -104,6 +104,12 @@ public:
}
}
/**
* Constructor based on std::string
* @param address
*/
Address(const std::string &address) : Address(address.data()) {}
/**
* Destructor
*/