From 6b231754f2f5c5ccf4d5ac5c7abbff9915d3bc49 Mon Sep 17 00:00:00 2001 From: Mihir Patel <82491937+LowLevelLore@users.noreply.github.com> Date: Mon, 30 Jun 2025 18:47:00 +0530 Subject: [PATCH] Update tcp_client-windows.h Added default value to argument --- include/spdlog/details/tcp_client-windows.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/spdlog/details/tcp_client-windows.h b/include/spdlog/details/tcp_client-windows.h index 62f80c76..524a4bdc 100644 --- a/include/spdlog/details/tcp_client-windows.h +++ b/include/spdlog/details/tcp_client-windows.h @@ -113,7 +113,7 @@ public: } // try to connect or throw on failure - void connect(const std::string &host, int port, int timeout_ms) { + void connect(const std::string &host, int port, int timeout_ms = 0) { if (is_connected()) { close(); }