Skip to content

Commit dbbd44f

Browse files
authored
Merge pull request #45130 from iarspider/iarspider-patch-20240604-2
Fix maybe-uninitialized warning in BaseCrystal
2 parents dff78b8 + 44487a9 commit dbbd44f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

FastSimulation/CaloGeometryTools/interface/BaseCrystal.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class BaseCrystal {
2525
// side numbering
2626
// enum CrystalSide{EAST=0,NORTH=1,WEST=2,SOUTH=3,FRONT=4,BACK=5};
2727
/// Empty constructor
28-
BaseCrystal() { ; };
28+
BaseCrystal() = default;
2929
/// constructor from DetId
3030
BaseCrystal(const DetId& cell);
3131

@@ -36,7 +36,7 @@ class BaseCrystal {
3636
// computeBasicProperties();
3737
// std::cout << " done " << std::endl;
3838
// }
39-
~BaseCrystal() { ; }
39+
~BaseCrystal() = default;
4040
///
4141
void setCorners(const CaloCellGeometry::CornersVec& vec, const GlobalPoint& pos);
4242

0 commit comments

Comments
 (0)