1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-14 02:33:51 +02:00

Compile fix for filestystem

This commit is contained in:
DjWarmonger 2012-07-02 14:56:14 +00:00
parent 54ca71d598
commit 0e12876ecc

View File

@ -376,7 +376,7 @@ void ERMInterpreter::scanForScripts()
{
if(is_regular(dir->status()))
{
std::string name = dir->path().leaf();
std::string name = dir->path().leaf().string();
if( boost::algorithm::ends_with(name, ".erm") ||
boost::algorithm::ends_with(name, ".verm") )
{