From 103e35cea8c8cfee5ccafd5f036d638894a5e53a Mon Sep 17 00:00:00 2001 From: ralfulrich <ralf.ulrich@kit.edu> Date: Mon, 1 Oct 2018 10:55:12 +0200 Subject: [PATCH] formating --- Documentation/Examples/staticsequence_example.cc | 2 +- Framework/Logging/MessageOff.h | 2 +- Framework/ProcessSequence/testProcessSequence.cc | 8 ++++---- Framework/Random/RNGManager.h | 2 +- Framework/Units/testUnits.cc | 2 +- Processes/StackInspector/StackInspector.h | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Documentation/Examples/staticsequence_example.cc b/Documentation/Examples/staticsequence_example.cc index f293f8a7e..92813f2e3 100644 --- a/Documentation/Examples/staticsequence_example.cc +++ b/Documentation/Examples/staticsequence_example.cc @@ -22,7 +22,7 @@ public: Process2() {} template <typename D, typename T, typename S> - inline EProcessReturn DoContinuous(D& , T& , S&) const { + inline EProcessReturn DoContinuous(D&, T&, S&) const { // for (int i=0; i<10; ++i) d.p[i] *= 2; return EProcessReturn::eOk; } diff --git a/Framework/Logging/MessageOff.h b/Framework/Logging/MessageOff.h index 266a4b7cf..d22d131eb 100644 --- a/Framework/Logging/MessageOff.h +++ b/Framework/Logging/MessageOff.h @@ -10,7 +10,7 @@ namespace corsika::logging { class MessageOff { protected: template <typename First, typename... Strings> - std::string Message(const First& , const Strings&... ) { + std::string Message(const First&, const Strings&...) { return ""; } }; diff --git a/Framework/ProcessSequence/testProcessSequence.cc b/Framework/ProcessSequence/testProcessSequence.cc index 820dcb285..a83d23b3c 100644 --- a/Framework/ProcessSequence/testProcessSequence.cc +++ b/Framework/ProcessSequence/testProcessSequence.cc @@ -16,7 +16,7 @@ public: Process1() {} void Init() {} // cout << "Process1::Init" << endl; } template <typename D, typename T, typename S> - inline EProcessReturn DoContinuous(D& d, T& , S& ) const { + inline EProcessReturn DoContinuous(D& d, T&, S&) const { for (int i = 0; i < 10; ++i) d.p[i] += 1 + i; return EProcessReturn::eOk; } @@ -27,7 +27,7 @@ public: Process2() {} void Init() {} // cout << "Process2::Init" << endl; } template <typename D, typename T, typename S> - inline EProcessReturn DoContinuous(D& d, T& , S& ) const { + inline EProcessReturn DoContinuous(D& d, T&, S&) const { for (int i = 0; i < 10; ++i) d.p[i] *= 0.7; return EProcessReturn::eOk; } @@ -38,7 +38,7 @@ public: Process3() {} void Init() {} // cout << "Process3::Init" << endl; } template <typename D, typename T, typename S> - inline EProcessReturn DoContinuous(D& d, T& , S& ) const { + inline EProcessReturn DoContinuous(D& d, T&, S&) const { for (int i = 0; i < 10; ++i) d.p[i] += 0.933; return EProcessReturn::eOk; } @@ -49,7 +49,7 @@ public: Process4() {} void Init() {} // cout << "Process4::Init" << endl; } template <typename D, typename T, typename S> - inline EProcessReturn DoContinuous(D& d, T& , S& ) const { + inline EProcessReturn DoContinuous(D& d, T&, S&) const { for (int i = 0; i < 10; ++i) d.p[i] /= 1.2; return EProcessReturn::eOk; } diff --git a/Framework/Random/RNGManager.h b/Framework/Random/RNGManager.h index 9d19305c9..9c38400e3 100644 --- a/Framework/Random/RNGManager.h +++ b/Framework/Random/RNGManager.h @@ -42,7 +42,7 @@ namespace corsika::random { /** * set seed_seq of \a pStreamName to \a pSeedSeq */ - //void SetSeedSeq(std::string const& pStreamName, std::seed_seq& const pSeedSeq); + // void SetSeedSeq(std::string const& pStreamName, std::seed_seq& const pSeedSeq); }; } // namespace corsika::random diff --git a/Framework/Units/testUnits.cc b/Framework/Units/testUnits.cc index 225e11426..7fc0b00a6 100644 --- a/Framework/Units/testUnits.cc +++ b/Framework/Units/testUnits.cc @@ -20,7 +20,7 @@ TEST_CASE("PhysicalUnits", "[Units]") { REQUIRE(E1 == 10_GeV); LengthType l1 = 10_nm; - l1=l1; + l1 = l1; LengthType arr0[5]; arr0[0] = 5_m; diff --git a/Processes/StackInspector/StackInspector.h b/Processes/StackInspector/StackInspector.h index a64c84200..acf22aa7c 100644 --- a/Processes/StackInspector/StackInspector.h +++ b/Processes/StackInspector/StackInspector.h @@ -16,7 +16,7 @@ namespace corsika::process { double GetStepLength(); }; - } // namespace null_model + } // namespace stack_inspector } // namespace corsika::process -- GitLab