mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Fix compiler error for Visual Studio 2017
Function 'is_directory' is only static in the Visual Studio 2017 headers.
This commit is contained in:
parent
dc96211b41
commit
bc0904b148
@ -24,7 +24,7 @@ void CModSystem::Init()
|
||||
|
||||
for (auto& it : fs::directory_iterator("platform\\mods"))
|
||||
{
|
||||
if (!it.is_directory())
|
||||
if (!fs::is_directory(it))
|
||||
continue;
|
||||
|
||||
fs::path basePath = it.path();
|
||||
|
Loading…
x
Reference in New Issue
Block a user