From 1141b48ef035ae4e4eefbb297add8a43278ebb9f Mon Sep 17 00:00:00 2001 From: Andre Sailer <andre.philippe.sailer@cern.ch> Date: Thu, 16 Jul 2015 13:12:10 +0000 Subject: [PATCH] Add missing scope to not force everyone to use using namespace --- DDCore/include/DD4hep/Factories.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DDCore/include/DD4hep/Factories.h b/DDCore/include/DD4hep/Factories.h index 5f55e5f7a..bb4453787 100644 --- a/DDCore/include/DD4hep/Factories.h +++ b/DDCore/include/DD4hep/Factories.h @@ -194,7 +194,7 @@ namespace { #define DECLARE_XML_PROCESSOR_BASIC(name,func,deprecated) DD4HEP_OPEN_PLUGIN(DD4hep,det_element_##name) {\ template <> Geometry::Ref_t DetElementFactory< det_element_##name >::create(lcdd_t& l,xml_h e,ref_t h) \ - { if (deprecated) warning_deprecated_xml_factory(#name); return func(l,e,h);} \ + { if (deprecated) Geometry::warning_deprecated_xml_factory(#name); return func(l,e,h);} \ DD4HEP_PLUGINSVC_FACTORY(det_element_##name,name,NamedObject*(Geometry::LCDD*,XML::Handle_t*,Geometry::Ref_t*),__LINE__) } #define DECLARE_XML_PROCESSOR(name,func) DECLARE_XML_PROCESSOR_BASIC(name,func,0) -- GitLab