Fix compile error in Linux

master
Kirigaya Kazuto 2018-06-25 11:22:50 +08:00
parent e983119e2d
commit 8e6216beb9
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ bool DirWalk::isReady() const
int DirWalk::next(std::string& name, bool& is_dir)
{
dirent* file = NULL;
if ((file = readdir(Dir)) != NULL)
if ((file = readdir(_p->dir)) != NULL)
{
if (file->d_type == DT_DIR)
{