Fix compile error in Linux

This commit is contained in:
Kirigaya Kazuto 2018-06-25 11:26:39 +08:00
parent 8e6216beb9
commit ec247e72a8

View File

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