fixed compile for linux
This commit is contained in:
parent
f444f9b43e
commit
8a06b20ad6
@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user