From 19c6e54d6e235311d42065aafc192f48c6eb7733 Mon Sep 17 00:00:00 2001
From: Jan de Cuveland <cuveland@compeng.uni-frankfurt.de>
Date: Thu, 9 May 2024 16:14:19 +0200
Subject: [PATCH] Apply patches to make FormatCheck happy

---
 services/histserv/app/Application.h | 22 +++++++++++-----------
 services/histserv/app/main.cxx      | 10 ++++++----
 2 files changed, 17 insertions(+), 15 deletions(-)

diff --git a/services/histserv/app/Application.h b/services/histserv/app/Application.h
index 29993ea08e..2a14d8124b 100644
--- a/services/histserv/app/Application.h
+++ b/services/histserv/app/Application.h
@@ -25,21 +25,21 @@ namespace cbm::services::histserv
   public:
     /** @brief Standard constructor, initialises the application
      ** @param opt  **/
-    explicit Application(ProgramOptions const& opt, volatile sig_atomic_t* signalStatus);
+   explicit Application(ProgramOptions const& opt, volatile sig_atomic_t* signalStatus);
 
-    /** @brief Copy constructor forbidden **/
-    Application(const Application&) = delete;
+   /** @brief Copy constructor forbidden **/
+   Application(const Application&) = delete;
 
-    /** @brief Assignment operator forbidden **/
-    void operator=(const Application&) = delete;
+   /** @brief Assignment operator forbidden **/
+   void operator=(const Application&) = delete;
 
-    /** @brief Destructor **/
-    ~Application();
+   /** @brief Destructor **/
+   ~Application();
 
-    /** @brief Run the application **/
-    void Exec();
+   /** @brief Run the application **/
+   void Exec();
 
-    void UpdateHttpServer();
+   void UpdateHttpServer();
 
   private:
     //const std::string& ConfigFile() const;
@@ -84,7 +84,7 @@ namespace cbm::services::histserv
 
   private:
     ProgramOptions const& fOpt;      ///< Program options object
-    volatile sig_atomic_t* fSignalStatus; ///< Global signal status
+    volatile sig_atomic_t* fSignalStatus;  ///< Global signal status
     THttpServer* fServer = nullptr;  ///< ROOT Histogram server (JSroot)
     std::thread fThread;
     bool fStopThread = false;
diff --git a/services/histserv/app/main.cxx b/services/histserv/app/main.cxx
index 61d1931a87..1881ff1284 100644
--- a/services/histserv/app/main.cxx
+++ b/services/histserv/app/main.cxx
@@ -1,14 +1,16 @@
 /* Copyright (C) 2023 Facility for Antiproton and Ion Research in Europe, Darmstadt
    SPDX-License-Identifier: GPL-3.0-only
    Authors: Pierre-Alain Loizeau [committer] */
-#include <Logger.h>
-
 #include "Application.h"
 #include "ProgramOptions.h"
+
+#include <Logger.h>
+
 #include <csignal>
 
-namespace {
-volatile sig_atomic_t signal_status = 0;
+namespace
+{
+  volatile sig_atomic_t signal_status = 0;
 }
 
 static void signal_handler(int sig) { signal_status = sig; }
-- 
GitLab