From 0c24c93c8cd4ead9b7277f09bf8c1843c5661f84 Mon Sep 17 00:00:00 2001 From: Ivan Savenko Date: Fri, 26 Apr 2024 17:57:16 +0300 Subject: [PATCH] SonarCloud fixes --- client/lobby/CLobbyScreen.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/client/lobby/CLobbyScreen.h b/client/lobby/CLobbyScreen.h index 962547fa4..db42d9600 100644 --- a/client/lobby/CLobbyScreen.h +++ b/client/lobby/CLobbyScreen.h @@ -13,14 +13,14 @@ class CBonusSelection; -class CLobbyScreen : public CSelectionBase +class CLobbyScreen final : public CSelectionBase { public: std::shared_ptr buttonChat; CLobbyScreen(ESelectionScreen type); ~CLobbyScreen(); - void toggleTab(std::shared_ptr tab) override; + void toggleTab(std::shared_ptr tab) final; void startCampaign(); void startScenario(bool allowOnlyAI = false); void toggleMode(bool host); @@ -28,8 +28,8 @@ public: void updateAfterStateChange(); - const CMapInfo * getMapInfo() override; - const StartInfo * getStartInfo() override; + const CMapInfo * getMapInfo() final; + const StartInfo * getStartInfo() final; std::shared_ptr bonusSel; };