Skip to content

Commit 1bea38e

Browse files
committed
clang-format
1 parent 4418909 commit 1bea38e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

include/spdlog/details/tcp_client-windows.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class tcp_client {
5757
}
5858

5959
SOCKET fd() const { return socket_; }
60-
60+
6161
int connect_socket_with_timeout(SOCKET sockfd,
6262
const struct sockaddr *addr,
6363
int addrlen,

include/spdlog/sinks/tcp_sink.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ namespace sinks {
3131
struct tcp_sink_config {
3232
std::string server_host;
3333
int server_port;
34-
int timeout_ms = 0; // The timeout for all 3 major socket operations that is connect, send, and recv
34+
int timeout_ms =
35+
0; // The timeout for all 3 major socket operations that is connect, send, and recv
3536
bool lazy_connect = false; // if true connect on first log call instead of on construction
3637

3738
tcp_sink_config(std::string host, int port)

tests/test_ringbuffer.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,3 @@ TEST_CASE("ringbuffer retrieval limit", "[ringbuffer]") {
5050
REQUIRE(formatted[0] == spdlog::fmt_lib::format("B{}", default_eol));
5151
REQUIRE(formatted[1] == spdlog::fmt_lib::format("C{}", default_eol));
5252
}
53-

0 commit comments

Comments
 (0)