From e3132b406de025ec4ecd612977425c7e7273ecf9 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Wed, 3 Apr 2024 17:26:03 +0200 Subject: Mark overridden virtual functions Use the new "override" keyword to properly differentiate between new virtual methods, and existing virtual methods being overridden. --- win/vncconfig/PasswordDialog.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'win/vncconfig/PasswordDialog.h') diff --git a/win/vncconfig/PasswordDialog.h b/win/vncconfig/PasswordDialog.h index 5b9d3fb3..06973bb9 100644 --- a/win/vncconfig/PasswordDialog.h +++ b/win/vncconfig/PasswordDialog.h @@ -28,7 +28,7 @@ namespace rfb { public: PasswordDialog(const RegKey& rk, bool registryInsecure_); bool showDialog(HWND owner=nullptr); - bool onOk(); + bool onOk() override; protected: const RegKey& regKey; bool registryInsecure; -- cgit v1.2.3