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

fixed compile for linux

parent f444f9b4
...@@ -46,7 +46,7 @@ namespace cv ...@@ -46,7 +46,7 @@ namespace cv
#else #else
DIR *dp; DIR *dp;
struct dirent *dirp; struct dirent *dirp;
if((dp = opendir(directoryName.c_str())) == NULL) if((dp = opendir(path.c_str())) == NULL)
{ {
return list; return list;
} }
......
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