From 5b818d71b9981d980c32e8232875782564576319 Mon Sep 17 00:00:00 2001 From: halx99 Date: Thu, 1 Feb 2024 01:22:03 +0800 Subject: [PATCH] Fix ci --- yasio/io_service.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/yasio/io_service.cpp b/yasio/io_service.cpp index 3ac4653b..44d67e98 100644 --- a/yasio/io_service.cpp +++ b/yasio/io_service.cpp @@ -1664,9 +1664,11 @@ void io_service::active_transport(transport_handle_t t) if (yasio__testbits(ctx->properties_, YCM_KCP)) { ++this->nsched_; +#if defined(YASIO_ENABLE_KCP) auto interval = static_cast(t)->interval(); if (this->sched_freq_ > interval) this->sched_freq_ = interval; +#endif } if (!yasio__testbits(ctx->properties_, YCM_SSL)) {