don't use leaf().string()

This commit is contained in:
HanzZ 2011-09-20 23:45:49 +02:00
parent d41a6550d0
commit 645e71d348

View file

@ -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;