don't use leaf().string()
This commit is contained in:
parent
d41a6550d0
commit
645e71d348
1 changed files with 1 additions and 1 deletions
|
@ -214,7 +214,7 @@ class FrotzNetworkPlugin : public NetworkPlugin {
|
|||
directory_iterator end_itr;
|
||||
for (directory_iterator itr(p); itr != end_itr; ++itr) {
|
||||
if (extension(itr->path()) == ".z5") {
|
||||
games.push_back(itr->path().leaf().string());
|
||||
games.push_back(itr->path().leaf());
|
||||
}
|
||||
}
|
||||
return games;
|
||||
|
|
Loading…
Add table
Reference in a new issue