From 2fbff879f8cfc1d180796e6661d8fb23a9504ce7 Mon Sep 17 00:00:00 2001 From: Arthur Kushka Date: Thu, 31 Oct 2024 10:56:09 -0700 Subject: [PATCH] flipper | remove unnecessary semicolons Summary: arfx codebase enforces the code to not have unnecessary semicolons, failing the build. fixing it Differential Revision: D65275930 fbshipit-source-id: 42620246c107847cc0c8005515c8bda898373aa0 --- xplat/Flipper/FlipperConnectionManager.h | 4 ++-- xplat/Flipper/FlipperResponder.h | 2 +- xplat/Flipper/FlipperState.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/xplat/Flipper/FlipperConnectionManager.h b/xplat/Flipper/FlipperConnectionManager.h index fee2229338f..75dff3801f6 100644 --- a/xplat/Flipper/FlipperConnectionManager.h +++ b/xplat/Flipper/FlipperConnectionManager.h @@ -19,7 +19,7 @@ class FlipperConnectionManager { class Callbacks; public: - virtual ~FlipperConnectionManager(){}; + virtual ~FlipperConnectionManager() {} /** Establishes a connection to the ws server. @@ -84,7 +84,7 @@ class FlipperConnectionManager { class FlipperConnectionManager::Callbacks { public: - virtual ~Callbacks(){}; + virtual ~Callbacks() {} virtual void onConnected() = 0; diff --git a/xplat/Flipper/FlipperResponder.h b/xplat/Flipper/FlipperResponder.h index db0c0cea2ed..322c665bd5d 100644 --- a/xplat/Flipper/FlipperResponder.h +++ b/xplat/Flipper/FlipperResponder.h @@ -18,7 +18,7 @@ namespace flipper { */ class FlipperResponder { public: - virtual ~FlipperResponder(){}; + virtual ~FlipperResponder() {} /** * Deliver a successful response to the Flipper desktop app. diff --git a/xplat/Flipper/FlipperState.h b/xplat/Flipper/FlipperState.h index aa0f0e710ed..fc4ba5d06a4 100644 --- a/xplat/Flipper/FlipperState.h +++ b/xplat/Flipper/FlipperState.h @@ -24,7 +24,7 @@ enum State { success, in_progress, failed }; class StateElement { public: - StateElement(std::string name, State state) : name_(name), state_(state){}; + StateElement(std::string name, State state) : name_(name), state_(state) {} std::string name_; State state_; };