zeroconf/avahi/Poll: rename internal variables
This commit is contained in:
parent
87963685fb
commit
9b9522e3f5
@ -56,8 +56,8 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void WatchUpdate(AvahiWatch *w,
|
static void WatchUpdate(AvahiWatch *w,
|
||||||
AvahiWatchEvent event) noexcept {
|
AvahiWatchEvent _event) noexcept {
|
||||||
w->event.Schedule(FromAvahiWatchEvent(event));
|
w->event.Schedule(FromAvahiWatchEvent(_event));
|
||||||
}
|
}
|
||||||
|
|
||||||
static AvahiWatchEvent WatchGetEvents(AvahiWatch *w) noexcept {
|
static AvahiWatchEvent WatchGetEvents(AvahiWatch *w) noexcept {
|
||||||
@ -69,8 +69,8 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void OnSocketReady(unsigned flags) noexcept {
|
void OnSocketReady(unsigned events) noexcept {
|
||||||
received = ToAvahiWatchEvent(flags);
|
received = ToAvahiWatchEvent(events);
|
||||||
callback(this, event.GetSocket().Get(), received, userdata);
|
callback(this, event.GetSocket().Get(), received, userdata);
|
||||||
received = AvahiWatchEvent(0);
|
received = AvahiWatchEvent(0);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user