From 63835271bda5acfcbe96037c7a77cfb0e02b0a19 Mon Sep 17 00:00:00 2001 From: edcallaghan Date: Wed, 13 May 2026 08:03:17 -0700 Subject: [PATCH] fix typo in no-clone exception printout --- Detector/ElementXing.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Detector/ElementXing.hh b/Detector/ElementXing.hh index afcb4cb0..7cae01cd 100644 --- a/Detector/ElementXing.hh +++ b/Detector/ElementXing.hh @@ -49,7 +49,7 @@ namespace KinKal { // which must be reassigned explicitly; the default action is thus to throw // an error if a clone routine has not been explicitly provided. template std::shared_ptr< ElementXing > ElementXing::clone(CloneContext&) const{ - std::string msg = "Attempt to clone KinKal::Hit subclass with no clone() implementation"; + std::string msg = "Attempt to clone KinKal::ElementXing subclass with no clone() implementation"; throw std::runtime_error(msg); }