Nobody but I sees dlsym handles const :-) Give in.

This commit is contained in:
Axel Naumann 2013-08-19 16:41:32 +02:00 committed by sftnight
parent 05f7752740
commit 3b64a6b98a
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.
static void ExposeHiddenSharedLibrarySymbols(const void* DyLibHandle);
static void ExposeHiddenSharedLibrarySymbols(void* DyLibHandle);
///\brief Get the collection of loaded files.
///

View File

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