From: Axel Naumann Date: Thu, 28 Aug 2014 15:04:31 +0000 (+0200) Subject: Do not store PCMs for anonymous classes. X-Git-Tag: v6-02-00-rc1~253 X-Git-Url: https://root.cern.ch/gitweb?p=root.git;a=commitdiff_plain;h=7b3b118a80d191aff2f96e332139c058fc95760d Do not store PCMs for anonymous classes. --- diff --git a/core/utils/src/rootclingTCling.cxx b/core/utils/src/rootclingTCling.cxx index 3ce11a1..09e76e8 100644 --- a/core/utils/src/rootclingTCling.cxx +++ b/core/utils/src/rootclingTCling.cxx @@ -56,7 +56,9 @@ void InitializeStreamerInfoROOTFile(const char *filename) extern "C" void AddStreamerInfoToROOTFile(const char *normName) { - gClassesToStore.emplace_back(normName); + // Filter unnamed and (anonymous) classes. + if (normName && normName[0] && normName[0] != '(') + gClassesToStore.emplace_back(normName); } extern "C"