Add Convertor function for windows enviroment

This commit is contained in:
liuwenhao4 2020-08-21 10:44:38 +08:00
parent 3449abd741
commit bfce74ce0d
1 changed files with 1 additions and 1 deletions

View File

@ -62,10 +62,10 @@ class OptimizeModule {
}
#ifndef _WIN32
optimized_op_handler_ = dlopen(OPTIMIZE_SHARED_LIBRARY_PATH, RTLD_LAZY);
#endif
if (optimized_op_handler_ == nullptr) {
printf("Open optimize shared library failed: %s\n", dlerror());
}
#endif
}
~OptimizeModule() = default;