diff --git a/core/metacling/src/TClingMethodInfo.cxx b/core/metacling/src/TClingMethodInfo.cxx index 35cc03c297657..0dbf27a29817c 100644 --- a/core/metacling/src/TClingMethodInfo.cxx +++ b/core/metacling/src/TClingMethodInfo.cxx @@ -606,6 +606,7 @@ std::string TClingMethodInfo::GetMangledName() const const FunctionDecl* D = GetMethodDecl(); R__LOCKGUARD(gInterpreterMutex); + cling::Interpreter::PushTransactionRAII RAII(fInterp); GlobalDecl GD; if (const CXXConstructorDecl* Ctor = dyn_cast(D)) GD = GlobalDecl(Ctor, Ctor_Complete);