From 44487a9031e483e9a7fa23fe454e67f3c70da626 Mon Sep 17 00:00:00 2001 From: Ivan Razumov Date: Tue, 4 Jun 2024 13:50:08 +0200 Subject: [PATCH] Fix warning in BaseCrystal --- FastSimulation/CaloGeometryTools/interface/BaseCrystal.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/FastSimulation/CaloGeometryTools/interface/BaseCrystal.h b/FastSimulation/CaloGeometryTools/interface/BaseCrystal.h index ed36514680906..2a2787310630d 100644 --- a/FastSimulation/CaloGeometryTools/interface/BaseCrystal.h +++ b/FastSimulation/CaloGeometryTools/interface/BaseCrystal.h @@ -25,7 +25,7 @@ class BaseCrystal { // side numbering // enum CrystalSide{EAST=0,NORTH=1,WEST=2,SOUTH=3,FRONT=4,BACK=5}; /// Empty constructor - BaseCrystal() { ; }; + BaseCrystal() = default; /// constructor from DetId BaseCrystal(const DetId& cell); @@ -36,7 +36,7 @@ class BaseCrystal { // computeBasicProperties(); // std::cout << " done " << std::endl; // } - ~BaseCrystal() { ; } + ~BaseCrystal() = default; /// void setCorners(const CaloCellGeometry::CornersVec& vec, const GlobalPoint& pos);