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

This commit is contained in:
Max Kellermann
2019-04-04 19:48:28 +02:00
parent 1de3ac6c78
commit 8cd5e79fbd
17 changed files with 17 additions and 19 deletions

View File

@@ -76,7 +76,7 @@ public:
virtual ~AsyncInputStream();
EventLoop &GetEventLoop() {
auto &GetEventLoop() const noexcept {
return deferred_resume.GetEventLoop();
}

View File

@@ -102,7 +102,7 @@ public:
~TidalSessionManager() noexcept;
EventLoop &GetEventLoop() noexcept {
auto &GetEventLoop() const noexcept {
return defer_invoke_handlers.GetEventLoop();
}