0
0
mirror of https://github.com/OpenVPN/openvpn3.git synced 2024-09-20 20:13:05 +02:00

In Listen::Item, use C++11 member initialization.

This commit is contained in:
James Yonan 2015-11-20 19:03:08 -07:00
parent 331827fd06
commit db118c46ff

View File

@ -45,14 +45,12 @@ namespace openvpn {
SSLOff,
};
Item() : ssl(SSLUnspecified), n_threads(0) {}
std::string directive;
std::string addr;
std::string port;
Protocol proto;
SSLMode ssl;
unsigned int n_threads;
SSLMode ssl = SSLUnspecified;
unsigned int n_threads = 0;
std::string to_string() const
{