summaryrefslogtreecommitdiff
path: root/ZAPD/ZFile.cpp
diff options
context:
space:
mode:
authorNicholas Estelami <NEstelami@users.noreply.github.com>2021-11-27 15:20:15 -0500
committerGitHub <noreply@github.com>2021-11-27 15:20:15 -0500
commite3b53d3b8f88a0d139e72602c52666057e7066c0 (patch)
tree96f1f01658dd53bd7510d191dffdad4b3d5b9488 /ZAPD/ZFile.cpp
parent0966109a1402ac4a070345f9e151b93064d09fc9 (diff)
Updated MSVC libpng package to newer version (#208)
* Updated nuget to use newer version of libpng. Also updated uses of std::filesystem::path to be compliant with MSVC implementation. * Updated nuget to use newer version of libpng. Also updated uses of std::filesystem::path to be compliant with MSVC implementation. * Added missing cpp file and adjusted MSVC includes * Added new function to StringHelper Co-authored-by: Jack Walker <7463599+Jack-Walker@users.noreply.github.com>
Diffstat (limited to 'ZAPD/ZFile.cpp')
-rw-r--r--ZAPD/ZFile.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/ZAPD/ZFile.cpp b/ZAPD/ZFile.cpp
index b95671b..38482d9 100644
--- a/ZAPD/ZFile.cpp
+++ b/ZAPD/ZFile.cpp
@@ -313,7 +313,7 @@ void ZFile::BuildSourceFile()
return;
if (!Directory::Exists(outputPath))
- Directory::CreateDirectory(outputPath);
+ Directory::CreateDirectory(outputPath.string());
GenerateSourceFiles();
}
@@ -344,10 +344,10 @@ void ZFile::ExtractResources()
return;
if (!Directory::Exists(outputPath))
- Directory::CreateDirectory(outputPath);
+ Directory::CreateDirectory(outputPath.string());
if (!Directory::Exists(GetSourceOutputFolderPath()))
- Directory::CreateDirectory(GetSourceOutputFolderPath());
+ Directory::CreateDirectory(GetSourceOutputFolderPath().string());
for (size_t i = 0; i < resources.size(); i++)
resources[i]->ParseRawDataLate();