1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-09-16 09:26:28 +02:00

Update to Boost.Filesystem version 3, since Boost 1.50 drops support for version 2.

Check http://forum.vcmi.eu/viewtopic.php?t=518
This commit is contained in:
Michał W. Urbańczyk
2012-07-02 09:04:05 +00:00
parent 758fb0679e
commit 54ca71d598
5 changed files with 7 additions and 7 deletions

View File

@@ -1553,7 +1553,7 @@ int CPlayerInterface::getLastIndex( std::string namePrefix)
{
if(is_regular(dir->status()))
{
std::string name = dir->path().leaf();
std::string name = dir->path().leaf().string();
if(starts_with(name, namePrefix) && ends_with(name, ".vlgm1"))
{
char nr = name[namePrefix.size()];