From 07625979db63a21f468b111e87963ec85ba8437e Mon Sep 17 00:00:00 2001 From: Valentin Volkl Date: Fri, 25 Mar 2022 14:03:32 +0100 Subject: [PATCH] silence compiler warnings --- k4Gen/src/components/HepMCFullMerge.h | 2 +- k4Gen/src/components/HepMCSimpleMerge.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/k4Gen/src/components/HepMCFullMerge.h b/k4Gen/src/components/HepMCFullMerge.h index 536e353..78684fb 100644 --- a/k4Gen/src/components/HepMCFullMerge.h +++ b/k4Gen/src/components/HepMCFullMerge.h @@ -15,7 +15,7 @@ * Implementation partly due to pilemc https://pilemc.hepforge.org/ */ -class HepMCFullMerge : public GaudiTool, virtual public IHepMCMergeTool { +class HepMCFullMerge final: public GaudiTool, virtual public IHepMCMergeTool { public: HepMCFullMerge(const std::string& type, const std::string& name, const IInterface* parent); diff --git a/k4Gen/src/components/HepMCSimpleMerge.h b/k4Gen/src/components/HepMCSimpleMerge.h index c6c03b9..a7028c9 100644 --- a/k4Gen/src/components/HepMCSimpleMerge.h +++ b/k4Gen/src/components/HepMCSimpleMerge.h @@ -9,7 +9,7 @@ #include "GaudiKernel/RndmGenerators.h" -class HepMCSimpleMerge : public GaudiTool, virtual public IHepMCMergeTool { +class HepMCSimpleMerge final: public GaudiTool, virtual public IHepMCMergeTool { public: HepMCSimpleMerge(const std::string& type, const std::string& name, const IInterface* parent);