From 2966d43523270059db30588ac30ddf9e87fbda31 Mon Sep 17 00:00:00 2001 From: Remy Prechelt <prechelt@hawaii.edu> Date: Fri, 10 Jul 2020 08:51:05 -1000 Subject: [PATCH] Remove no-op Init() from test-only structs. --- Processes/SwitchProcess/testSwitchProcess.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/Processes/SwitchProcess/testSwitchProcess.cc b/Processes/SwitchProcess/testSwitchProcess.cc index 0fee9b70c..0cff57f16 100644 --- a/Processes/SwitchProcess/testSwitchProcess.cc +++ b/Processes/SwitchProcess/testSwitchProcess.cc @@ -24,7 +24,6 @@ class TestStackData { public: // these functions are needed for the Stack interface - void Init() {} void Clear() { fData.clear(); } unsigned int GetSize() const { return fData.size(); } unsigned int GetCapacity() const { return fData.size(); } @@ -96,7 +95,6 @@ auto constexpr kgMSq = 1_kg / (1_m * 1_m); template <int N> struct DummyProcess : InteractionProcess<DummyProcess<N>> { - void Init() {} template <typename TParticle> corsika::units::si::GrammageType GetInteractionLength(TParticle const&) const { -- GitLab