fixed compile for linux
This commit is contained in:
parent
f444f9b43e
commit
8a06b20ad6
@ -46,8 +46,8 @@ 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;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -129,4 +129,4 @@ namespace cv
|
|||||||
return list;
|
return list;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user