aboutsummaryrefslogtreecommitdiffstats
path: root/win/winvnc/VNCServerWin32.h
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2024-04-03 17:26:03 +0200
committerPierre Ossman <ossman@cendio.se>2024-06-24 13:47:18 +0200
commite3132b406de025ec4ecd612977425c7e7273ecf9 (patch)
tree815ab6630f84810b0e4c9b2c65917287b4e01692 /win/winvnc/VNCServerWin32.h
parent8530a1bd034feee8bd6e3a436887af187b058f2b (diff)
downloadtigervnc-e3132b406de025ec4ecd612977425c7e7273ecf9.tar.gz
tigervnc-e3132b406de025ec4ecd612977425c7e7273ecf9.zip
Mark overridden virtual functions
Use the new "override" keyword to properly differentiate between new virtual methods, and existing virtual methods being overridden.
Diffstat (limited to 'win/winvnc/VNCServerWin32.h')
-rw-r--r--win/winvnc/VNCServerWin32.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/win/winvnc/VNCServerWin32.h b/win/winvnc/VNCServerWin32.h
index 0fff0963..493b3fa6 100644
--- a/win/winvnc/VNCServerWin32.h
+++ b/win/winvnc/VNCServerWin32.h
@@ -81,20 +81,20 @@ namespace winvnc {
// QueryConnectionHandler interface
// Callback used to prompt user to accept or reject a connection.
// CALLBACK IN VNCServerST "HOST" THREAD
- virtual void queryConnection(network::Socket* sock,
- const char* userName);
+ void queryConnection(network::Socket* sock,
+ const char* userName) override;
// SocketManager::AddressChangeNotifier interface
// Used to keep tray icon up to date
- virtual void processAddressChange();
+ void processAddressChange() override;
// RegConfig::Callback interface
// Called via the EventManager whenever RegConfig sees the registry change
- virtual void regConfigChanged();
+ void regConfigChanged() override;
// EventHandler interface
// Used to perform queued commands
- virtual void processEvent(HANDLE event);
+ void processEvent(HANDLE event) override;
void getConnInfo(ListConnInfo * listConn);
void setConnStatus(ListConnInfo* listConn);