event/*, ...: make GetEventLoop() const
This commit is contained in:
		@@ -129,7 +129,7 @@ public:
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
	EventLoop &GetEventLoop() noexcept {
 | 
			
		||||
	EventLoop &GetEventLoop() const noexcept {
 | 
			
		||||
		return defer_connect.GetEventLoop();
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -94,7 +94,7 @@ public:
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	EventLoop &GetEventLoop() noexcept {
 | 
			
		||||
	EventLoop &GetEventLoop() const noexcept {
 | 
			
		||||
		return defer_mount.GetEventLoop();
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user