diff --git a/unittests/CppInterOp/DynamicLibraryManagerTest.cpp b/unittests/CppInterOp/DynamicLibraryManagerTest.cpp index 28c3a8a7..95ee75bd 100644 --- a/unittests/CppInterOp/DynamicLibraryManagerTest.cpp +++ b/unittests/CppInterOp/DynamicLibraryManagerTest.cpp @@ -58,8 +58,8 @@ TEST(DynamicLibraryManagerTest, Sanity) { } TEST(UtilsPlatform, DLTest) { - std::string err_ = ""; + std::string err = ""; auto dlopen_handle = Cpp::utils::platform::DLOpen( - "./unittests/CppInterOp/libTestSharedLib.dylib", err_); + "./unittests/CppInterOp/libTestSharedLib.dylib", err); (void)dlopen_handle; }