From 6bb7a6f2919a4024dd6d98d36382585b492162ca Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Wed, 23 Oct 2024 10:33:42 +0200 Subject: [PATCH] work: cleanup --- src/uvw/work.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/uvw/work.h b/src/uvw/work.h index b308dd89..d85ca490 100644 --- a/src/uvw/work.h +++ b/src/uvw/work.h @@ -20,7 +20,7 @@ struct work_event {}; * * To create a `work_req` through a `loop`, arguments follow: * - * * A valid instance of a `Task`, that is of type `std::function`. + * * A valid instance of a `Task`, that is of type `std::function`. * * See the official * [documentation](http://docs.libuv.org/en/v1.x/threadpool.html) @@ -31,7 +31,7 @@ class work_req final: public request { static void after_work_callback(uv_work_t *req, int status); public: - using task = std::function; + using task = std::function; explicit work_req(loop::token token, std::shared_ptr ref, task t);