From 88dd8b64a1cfa33dc9d3f05b22dae06134d996a1 Mon Sep 17 00:00:00 2001 From: Nathan Brei Date: Thu, 28 Nov 2024 01:43:51 -0500 Subject: [PATCH] JFactoryT constructor accepts tag argument again --- src/libraries/JANA/JFactoryT.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libraries/JANA/JFactoryT.h b/src/libraries/JANA/JFactoryT.h index 2e6eddf86..30252b3b6 100644 --- a/src/libraries/JANA/JFactoryT.h +++ b/src/libraries/JANA/JFactoryT.h @@ -25,7 +25,7 @@ class JFactoryT : public JFactory { using IteratorType = typename std::vector::const_iterator; using PairType = std::pair; - JFactoryT() : JFactory(JTypeInfo::demangle(), ""){ + JFactoryT(std::string tag="") : JFactory(JTypeInfo::demangle(), tag){ EnableGetAs(); EnableGetAs( std::is_convertible() ); // Automatically add JObject if this can be converted to it #if JANA2_HAVE_ROOT