Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[cxxmodules] Delay loading core modules
  • Loading branch information
Teemperor committed Nov 24, 2017
commit 206dab6b778478220d9e5b43a900974c4888bca5
6 changes: 3 additions & 3 deletions core/metacling/src/TCling.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1341,9 +1341,6 @@ TCling::TCling(const char *name, const char *title)
"using namespace std;");
}

// Setup core C++ modules if we have any to setup.
LoadCoreModules(*fInterpreter);

// We are now ready (enough is loaded) to init the list of opaque typedefs.
fNormalizedCtxt = new ROOT::TMetaUtils::TNormalizedCtxt(fInterpreter->getLookupHelper());
fLookupHelper = new ROOT::TMetaUtils::TClingLookupHelper(*fInterpreter, *fNormalizedCtxt, TClingLookupHelper__ExistingTypeCheck, TClingLookupHelper__AutoParse);
Expand Down Expand Up @@ -1416,6 +1413,9 @@ TCling::~TCling()
void TCling::Initialize()
{
fClingCallbacks->Initialize();

// Setup core C++ modules if we have any to setup.
LoadCoreModules(*fInterpreter);
}

////////////////////////////////////////////////////////////////////////////////
Expand Down