diff --git a/inc/TRestDetectorHitsReadoutAnalysisProcess.h b/inc/TRestDetectorHitsReadoutAnalysisProcess.h index 2f994a6d..c2ee50af 100644 --- a/inc/TRestDetectorHitsReadoutAnalysisProcess.h +++ b/inc/TRestDetectorHitsReadoutAnalysisProcess.h @@ -22,7 +22,7 @@ class TRestDetectorHitsReadoutAnalysisProcess : public TRestEventProcess { void InitFromConfigFile() override; void Initialize() override; - void LoadDefaultConfig(){}; + void LoadDefaultConfig() {}; /// \brief This process will only work on hits corresponding to this channel type (using readout) std::string fChannelType; diff --git a/inc/TRestDetectorLightAttenuationProcess.h b/inc/TRestDetectorLightAttenuationProcess.h index 7db7f32c..bba9436f 100644 --- a/inc/TRestDetectorLightAttenuationProcess.h +++ b/inc/TRestDetectorLightAttenuationProcess.h @@ -41,7 +41,7 @@ class TRestDetectorLightAttenuationProcess : public TRestEventProcess { void PrintMetadata() override; TRestDetectorLightAttenuationProcess() = default; - explicit TRestDetectorLightAttenuationProcess(const char* configFilename){}; + explicit TRestDetectorLightAttenuationProcess(const char* configFilename) {}; const char* GetProcessName() const override { return "lightAttenuation"; } diff --git a/src/TRestDetectorSignalViewerProcess.cxx b/src/TRestDetectorSignalViewerProcess.cxx index 3e47d28e..7b7c70ae 100644 --- a/src/TRestDetectorSignalViewerProcess.cxx +++ b/src/TRestDetectorSignalViewerProcess.cxx @@ -109,8 +109,7 @@ TRestEvent* TRestDetectorSignalViewerProcess::ProcessEvent(TRestEvent* inputEven } else if (a == 27) // esc { fDrawRefresh = 1e99; - while (getchar() != '\n') - ; + while (getchar() != '\n'); break; } else if (a == 110 || a == 78) // n { @@ -135,8 +134,7 @@ TRestEvent* TRestDetectorSignalViewerProcess::ProcessEvent(TRestEvent* inputEven RESTWarning << "cannot plot signal with id " << sgnCounter << RESTendl; } } - while (getchar() != '\n') - ; + while (getchar() != '\n'); } }