diff --git a/lib/Interpreter/IncrementalExecutor.cpp b/lib/Interpreter/IncrementalExecutor.cpp index f67be101..d4b3e2f7 100644 --- a/lib/Interpreter/IncrementalExecutor.cpp +++ b/lib/Interpreter/IncrementalExecutor.cpp @@ -94,9 +94,8 @@ void IncrementalExecutor::remapCXAAtExit() { } void IncrementalExecutor::AddAtExitFunc(void (*func) (void*), void* arg, - const cling::Transaction* clingT) { + const cling::Transaction* T) { // Register a CXAAtExit function - cling::Transaction* T = (cling::Transaction*)clingT; m_AtExitFuncs.push_back(CXAAtExitElement(func, arg, T)); }