From 520e96b6e818f11642a7a9f80e601ecf3579094b Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 28 Sep 2022 09:45:56 +0200 Subject: [PATCH] event/Loop: rename parameter --- src/event/Loop.cxx | 4 ++-- src/event/Loop.hxx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/event/Loop.cxx b/src/event/Loop.cxx index c845a874b..1a548f689 100644 --- a/src/event/Loop.cxx +++ b/src/event/Loop.cxx @@ -179,13 +179,13 @@ EventLoop::HandleTimers() noexcept } void -EventLoop::AddDefer(DeferEvent &d) noexcept +EventLoop::AddDefer(DeferEvent &e) noexcept { #ifdef HAVE_THREADED_EVENT_LOOP assert(!IsAlive() || IsInside()); #endif - defer.push_back(d); + defer.push_back(e); again = true; } diff --git a/src/event/Loop.hxx b/src/event/Loop.hxx index d49a801e0..3ac874bc7 100644 --- a/src/event/Loop.hxx +++ b/src/event/Loop.hxx @@ -211,7 +211,7 @@ public: /** * Schedule a call to DeferEvent::RunDeferred(). */ - void AddDefer(DeferEvent &d) noexcept; + void AddDefer(DeferEvent &e) noexcept; void AddIdle(DeferEvent &e) noexcept; #ifdef HAVE_THREADED_EVENT_LOOP