Skip to content

Commit

Permalink
Add missing const to registerWithWSAAsyncSelect
Browse files Browse the repository at this point in the history
Change-Id: Ibb761710598296c9aac56a5fbda5b49ef436d28f
Reviewed-on: https://codereview.kdab.com/c/kdab/kdutils/+/133509
Reviewed-by: Mike Krus <mike.krus@kdab.com>
  • Loading branch information
MiKom committed Nov 13, 2023
1 parent ab57916 commit 712b3d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ void Win32PlatformEventLoop::handleSocketMessage(WPARAM wparam, LPARAM lparam)
}
}

bool KDFoundation::Win32PlatformEventLoop::registerWithWSAAsyncSelect(int fd, const NotifierSet &notifiers)
bool KDFoundation::Win32PlatformEventLoop::registerWithWSAAsyncSelect(int fd, const NotifierSet &notifiers) const {
{
auto typeToWsaEvents = [](FileDescriptorNotifier::NotificationType type) {
switch (type) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class KDFOUNDATION_API Win32PlatformEventLoop : public AbstractPlatformEventLoop

static LRESULT messageWindowProc(HWND, UINT, WPARAM, LPARAM);
void handleSocketMessage(WPARAM wParam, LPARAM lParam);
bool registerWithWSAAsyncSelect(int fd, const NotifierSet &notifiers);
bool registerWithWSAAsyncSelect(int fd, const NotifierSet &notifiers) const;

HANDLE m_wakeUpEvent;
HWND m_msgWindow = 0;
Expand Down

0 comments on commit 712b3d7

Please sign in to comment.