Fix compile error in Linux

master
Kirigaya Kazuto 2018-06-25 11:26:39 +08:00
parent 8e6216beb9
commit ec247e72a8
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ struct DirWalk::_impl
std::string root;
};
DirWalk::DirWalk(const std::string& DirName)
DirWalk::DirWalk(const std::string& DirName) : _p(new _impl)
{
std::string realname = DirName;
int sz = realname.size();