Make static; ROOT must call it before cling::Interpreter is created.

This commit is contained in:
Axel Naumann 2013-08-19 16:40:26 +02:00 committed by sftnight
parent 6cf9eba1d9
commit 05f7752740
2 changed files with 2 additions and 2 deletions

View File

@ -592,7 +592,7 @@ namespace cling {
/// a shared library that would otherwise not be used for symbol
/// resolution, e.g. because it was dlopened with RTLD_LOCAL.
///\param [in] DyLibHandle - the system specific shared library handle.
void ExposeHiddenSharedLibrarySymbols(const void* DyLibHandle) const;
static void ExposeHiddenSharedLibrarySymbols(const void* DyLibHandle);
///\brief Get the collection of loaded files.
///

View File

@ -874,7 +874,7 @@ namespace cling {
}
void
Interpreter::ExposeHiddenSharedLibrarySymbols(const void* DyLibHandle) const {
Interpreter::ExposeHiddenSharedLibrarySymbols(const void* DyLibHandle) {
llvm::sys::DynamicLibrary::addPermanentLibrary(const_cast<void*>(DyLibHandle));
}