diff options
Diffstat (limited to 'AudioManagerDaemon/include/TAmPluginTemplate.h')
-rw-r--r-- | AudioManagerDaemon/include/TAmPluginTemplate.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/AudioManagerDaemon/include/TAmPluginTemplate.h b/AudioManagerDaemon/include/TAmPluginTemplate.h index 2959b04..a421cd1 100644 --- a/AudioManagerDaemon/include/TAmPluginTemplate.h +++ b/AudioManagerDaemon/include/TAmPluginTemplate.h @@ -46,10 +46,9 @@ template<class T> T* getCreateFunction(const std::string& libname, void*& librar // cut off "lib" in front and cut off .so end" std::string createFunctionName = libFileName.substr(3, libFileName.length() - 6) + "Factory"; - // open library dlerror(); // Clear any existing error - libraryHandle = dlopen(libname.c_str(), RTLD_LAZY); + libraryHandle = dlopen(libname.c_str(), RTLD_LAZY ); const char* dlopen_error = dlerror(); if (!libraryHandle || dlopen_error) { |