Skip to content
Snippets Groups Projects
Commit acc3fcb9 authored by Sergey Linev's avatar Sergey Linev Committed by Axel Naumann
Browse files

fix wrong cast - instead function pointer variable pointer was used

(cherry picked from commit f4801313)
parent 782c35c9
No related branches found
No related tags found
No related merge requests found
...@@ -28,7 +28,7 @@ AddPseudoGlobals() { ...@@ -28,7 +28,7 @@ AddPseudoGlobals() {
// User "gCling" as synonym for "libCore static initialization has happened". // User "gCling" as synonym for "libCore static initialization has happened".
// This code here must not trigger it. // This code here must not trigger it.
TGlobalMappedFunction::Add(new TGlobalMappedFunction("gGLManager", "TVirtualGL*", TGlobalMappedFunction::Add(new TGlobalMappedFunction("gGLManager", "TVirtualGL*",
(TGlobalMappedFunction::GlobalFunc_t)&gGLManager)); (TGlobalMappedFunction::GlobalFunc_t) &TGLManager::Instance));
} }
} gAddPseudoGlobals; } gAddPseudoGlobals;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment