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