Unverified Commit 0123d416 authored by Gabi Melman's avatar Gabi Melman Committed by GitHub

Update tcp_sink.h

parent 2b0481de
...@@ -31,12 +31,11 @@ struct tcp_sink_config ...@@ -31,12 +31,11 @@ struct tcp_sink_config
{ {
std::string server_host; std::string server_host;
int server_port; int server_port;
bool lazy_connect; // connect on first log call instead of in construction bool lazy_connect = false; // connect on first log call instead of on construction
tcp_sink_config(std::string host, int port, bool lazy_connect) tcp_sink_config(std::string host, int port)
: server_host{std::move(host)} : server_host{std::move(host)}
, server_port{port} , server_port{port}
, lazy_connect{lazy_connect}
{} {}
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment