event/Loop: rename parameter

This commit is contained in:
Max Kellermann 2022-09-28 09:45:56 +02:00
parent 45599e7840
commit 520e96b6e8
2 changed files with 3 additions and 3 deletions

View File

@ -179,13 +179,13 @@ EventLoop::HandleTimers() noexcept
} }
void void
EventLoop::AddDefer(DeferEvent &d) noexcept EventLoop::AddDefer(DeferEvent &e) noexcept
{ {
#ifdef HAVE_THREADED_EVENT_LOOP #ifdef HAVE_THREADED_EVENT_LOOP
assert(!IsAlive() || IsInside()); assert(!IsAlive() || IsInside());
#endif #endif
defer.push_back(d); defer.push_back(e);
again = true; again = true;
} }

View File

@ -211,7 +211,7 @@ public:
/** /**
* Schedule a call to DeferEvent::RunDeferred(). * Schedule a call to DeferEvent::RunDeferred().
*/ */
void AddDefer(DeferEvent &d) noexcept; void AddDefer(DeferEvent &e) noexcept;
void AddIdle(DeferEvent &e) noexcept; void AddIdle(DeferEvent &e) noexcept;
#ifdef HAVE_THREADED_EVENT_LOOP #ifdef HAVE_THREADED_EVENT_LOOP