From c3358e0272491e83c8a5f323f8f80e63b6a8be45 Mon Sep 17 00:00:00 2001 From: Philippe Canal <pcanal@fnal.gov> Date: Mon, 5 May 2008 17:49:12 +0000 Subject: [PATCH] Extend #pragma create TClass to namespaces git-svn-id: http://root.cern.ch/svn/root/trunk@23651 27541ba8-7e3a-0410-8455-c3a389f83636 --- core/utils/src/rootcint.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/utils/src/rootcint.cxx b/core/utils/src/rootcint.cxx index 4f6410031ba..e2b9117a61e 100644 --- a/core/utils/src/rootcint.cxx +++ b/core/utils/src/rootcint.cxx @@ -5078,6 +5078,8 @@ int main(int argc, char **argv) if (G__ShadowMaker::IsSTLCont(cl.Name()) == 0 ) { WriteClassInit(cl); } + } else if ((cl.Property() & (G__BIT_ISNAMESPACE))) { + WriteNamespaceInit(cl); } } WriteClassCode(cl, force); -- GitLab