event/*, ...: make GetEventLoop() const

This commit is contained in:
Max Kellermann
2019-04-04 19:48:28 +02:00
parent 4f6144dc71
commit 093bf5d859
17 changed files with 17 additions and 19 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ public:
DisconnectIndirect();
}
EventLoop &GetEventLoop() noexcept {
auto &GetEventLoop() const noexcept {
return watch.GetEventLoop();
}
+1 -1
View File
@@ -102,7 +102,7 @@ public:
void Shutdown() noexcept;
EventLoop &GetEventLoop() noexcept {
auto &GetEventLoop() const noexcept {
return defer_dispatch.GetEventLoop();
}