1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 23:33:05 +04:00

Merge pull request #26451 from savuor:rv/fix_get_handle

Build fix for opencl_core.cpp
This commit is contained in:
Alexander Smorkalov
2024-11-12 20:50:48 +03:00
committed by GitHub
@@ -204,7 +204,7 @@ static void* GetProcAddress(const char* name)
{
const std::string path = (i==0) ? getRuntimePath(defaultAndroidPaths[i]) : defaultAndroidPaths[i];
if (!path.empty()) {
handle = GetHandle(path);
handle = GetHandle(path.c_str());
if (handle) {
foundOpenCL = true;
break;