fixed compile for linux

This commit is contained in:
Andrey Morozov 2011-10-04 21:31:52 +00:00
parent f444f9b43e
commit 8a06b20ad6

View File

@ -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;
}
}
}