Fix constness warning.

This commit is contained in:
Axel Naumann 2014-03-05 09:34:03 +01:00 committed by sftnight
parent 297d6a0019
commit c505d76e2f

View File

@ -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));
}