mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-17 00:07:41 +02:00
fix Boost deprecation warnings
warnings introduced in v1.81 # Conflicts: # mapeditor/resourceExtractor/ResourceConverter.cpp
This commit is contained in:
committed by
Ivan Savenko
parent
efbed6000b
commit
2f14914120
@ -1702,7 +1702,7 @@ int CPlayerInterface::getLastIndex( std::string namePrefix)
|
||||
else
|
||||
for (directory_iterator dir(gamesDir); dir != enddir; ++dir)
|
||||
{
|
||||
if (is_regular(dir->status()))
|
||||
if (is_regular_file(dir->status()))
|
||||
{
|
||||
std::string name = dir->path().filename().string();
|
||||
if (starts_with(name, namePrefix) && ends_with(name, ".vcgm1"))
|
||||
|
Reference in New Issue
Block a user