Commit 8a06b20a authored by Andrey Morozov's avatar Andrey Morozov

fixed compile for linux

parent f444f9b4
......@@ -46,8 +46,8 @@ namespace cv
#else
DIR *dp;
struct dirent *dirp;
if((dp = opendir(directoryName.c_str())) == NULL)
{
if((dp = opendir(path.c_str())) == NULL)
{
return list;
}
......@@ -129,4 +129,4 @@ namespace cv
return list;
}
}
\ No newline at end of file
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment