Skip to content

Commit

Permalink
Make network interface send user callback optional.
Browse files Browse the repository at this point in the history
  • Loading branch information
linuscu committed Oct 11, 2024
1 parent 7f3c02d commit 9b65d8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/network/include/network/NetworkInterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ namespace l::network {
int32_t retries,
int32_t expectedResponseSize,
int32_t timeOut,
std::function<void(bool, std::string_view)> cb);
std::function<void(bool, std::string_view)> cb = nullptr);
bool NetworkStatus(std::string_view interfaceName);

template<class T>
Expand Down

0 comments on commit 9b65d8b

Please sign in to comment.