From 005673922fa9ecc8e38614cb5c7add7fd7472dc4 Mon Sep 17 00:00:00 2001 From: orignal Date: Mon, 20 Jul 2026 20:56:15 -0400 Subject: [PATCH] use _cpp_lib_move_only_function to check for std::move_only_function --- libi2pd/Streaming.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libi2pd/Streaming.h b/libi2pd/Streaming.h index d6c944a6..f6e83623 100644 --- a/libi2pd/Streaming.h +++ b/libi2pd/Streaming.h @@ -121,7 +121,7 @@ namespace stream }; }; -#if __cplusplus >= 202302L // C++23 +#ifdef __cpp_lib_move_only_function // with C++23 typedef std::move_only_function SendHandler; #else typedef std::function SendHandler;