From 9b65d8b9b41e151564feca925d106b5e08236395 Mon Sep 17 00:00:00 2001 From: lnd3 Date: Fri, 11 Oct 2024 05:27:38 +0200 Subject: [PATCH] Make network interface send user callback optional. --- packages/network/include/network/NetworkInterface.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/network/include/network/NetworkInterface.h b/packages/network/include/network/NetworkInterface.h index af242bd..103ce70 100644 --- a/packages/network/include/network/NetworkInterface.h +++ b/packages/network/include/network/NetworkInterface.h @@ -66,7 +66,7 @@ namespace l::network { int32_t retries, int32_t expectedResponseSize, int32_t timeOut, - std::function cb); + std::function cb = nullptr); bool NetworkStatus(std::string_view interfaceName); template