diff --git a/DDCore/include/DD4hep/detail/Grammar_unparsed.h b/DDCore/include/DD4hep/detail/Grammar_unparsed.h index eca64cb92dc47ceff19096896d29538611080b9b..6396e3c513a018dfc213ea0dd30464132c8a3c78 100644 --- a/DDCore/include/DD4hep/detail/Grammar_unparsed.h +++ b/DDCore/include/DD4hep/detail/Grammar_unparsed.h @@ -23,7 +23,6 @@ // Framework include files #include "DD4hep/Grammar.h" -#include "DD4hep/Printout.h" /// Namespace for the AIDA detector description toolkit namespace dd4hep { diff --git a/examples/Conditions/src/NonDefaultCtorCond.cpp b/examples/Conditions/src/NonDefaultCtorCond.cpp new file mode 100644 index 0000000000000000000000000000000000000000..755d7ae06600c0920829569fb536caf4657fe3fb --- /dev/null +++ b/examples/Conditions/src/NonDefaultCtorCond.cpp @@ -0,0 +1,32 @@ +//========================================================================== +// AIDA Detector description implementation +//-------------------------------------------------------------------------- +// Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN) +// All rights reserved. +// +// For the licensing terms see $DD4hepINSTALL/LICENSE. +// For the list of contributors see $DD4hepINSTALL/doc/CREDITS. +// +// Author : M.Frank +// +//========================================================================== + +// Framework include files +#include "ConditionExampleObjects.h" + +using namespace dd4hep::ConditionExamples; + +NonDefaultCtorCond::NonDefaultCtorCond(int aa, int bb, int cc) + : a(aa), b(bb), c(cc), d(0) +{ +} + +NonDefaultCtorCond::~NonDefaultCtorCond() { +} + +void NonDefaultCtorCond::set(int val) { + d = val; +} + +#include "DD4hep/detail/Grammar_unparsed.h" +static auto s_registry = dd4hep::GrammarRegistry::pre_note<NonDefaultCtorCond>();