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:
parent
54ca71d598
commit
0e12876ecc
@ -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") )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user