Hostname needs a default constructor.
This commit is contained in:
parent
a6c482ee91
commit
1d62bc9437
flow
|
@ -141,6 +141,7 @@ struct Hostname {
|
|||
bool isTLS;
|
||||
|
||||
Hostname(std::string host, std::string service, bool isTLS) : host(host), service(service), isTLS(isTLS) {}
|
||||
Hostname() : host(""), service(""), isTLS(false) {}
|
||||
|
||||
// Allow hostnames in forms like following:
|
||||
// hostname:1234
|
||||
|
|
Loading…
Reference in New Issue