Changeset 6415
- Timestamp:
- Dec 25, 2009, 5:18:02 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation2/src/libraries/core/DynLib.cc
r6413 r6415 70 70 COUT(2) << "Loading module " << mName << std::endl; 71 71 72 std::string &name = mName;72 std::string name = mName; 73 73 #ifdef ORXONOX_PLATFORM_LINUX 74 74 // dlopen() does not add .so to the filename, like windows does for .dll … … 79 79 m_hInst = (DYNLIB_HANDLE)DYNLIB_LOAD( name.c_str() ); 80 80 81 if ( !m_hInst)81 if (!m_hInst) 82 82 ThrowException( 83 83 General, … … 92 92 COUT(4) << "Unloading module " << mName << std::endl; 93 93 94 if ( DYNLIB_UNLOAD( m_hInst ))94 if (DYNLIB_UNLOAD( m_hInst )) 95 95 { 96 96 ThrowException(
Note: See TracChangeset
for help on using the changeset viewer.