Skip to content

Commit

Permalink
delete default constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
Sunanda committed Sep 27, 2019
1 parent 6eea64a commit 5447273
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Geometry/HcalAlgo/plugins/dd4hep/DDHCalEndcapAlgo.cc
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ struct HCalEndcapAlgo {
int idOffset; // Geant4 ID's... = 4000;
double tolPos, tolAbs; //Tolerances

HCalEndcapAlgo() { throw cms::Exception("HCalGeom") << "Wrong initialization to HcalEndcapAlgo"; }
HCalEndcapAlgo() = delete;

HCalEndcapAlgo(cms::DDParsingContext& ctxt, xml_h e) {
cms::DDNamespace ns(ctxt, e, true);
Expand Down

0 comments on commit 5447273

Please sign in to comment.