From 4c290996dc5dc608455dd29061ccc7692af9e08e Mon Sep 17 00:00:00 2001 From: Nikolai Kochetov Date: Tue, 15 Dec 2020 21:22:20 +0300 Subject: [PATCH] Fixing tests. --- src/Client/Connection.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Client/Connection.h b/src/Client/Connection.h index 05763f83578..d5d202d9ac2 100644 --- a/src/Client/Connection.h +++ b/src/Client/Connection.h @@ -171,7 +171,7 @@ public: std::optional checkPacket(size_t timeout_microseconds = 0); /// Receive packet from server. - Packet receivePacket(Fiber * fiber); + Packet receivePacket(Fiber * fiber = nullptr); /// If not connected yet, or if connection is broken - then connect. If cannot connect - throw an exception. void forceConnected(const ConnectionTimeouts & timeouts);