fixed build failed for macos

This commit is contained in:
홍학규
2020-11-27 12:11:16 +09:00
parent 99bae7f830
commit 6aff5dc5bc
2 changed files with 8 additions and 2 deletions

View File

@ -49,7 +49,7 @@ public:
struct Configuration {
bool disableTlsVerification = false; // if true, don't verify the TLS certificate
std::vector<string> protocols;
std::optional<std::vector<string>> protocols = std::nullopt;
};
WebSocket(std::optional<Configuration> config = nullopt);