C++20 fixes

This commit is contained in:
SirLynix
2023-11-14 15:40:48 +01:00
parent e5789d1749
commit a4b10749f7
5 changed files with 8 additions and 6 deletions

View File

@@ -124,7 +124,7 @@ int main()
for (auto&& headerFile : std::filesystem::recursive_directory_iterator(entry.path()))
{
if (!headerFile.is_regular_file() || headerFile.path().extension().generic_u8string() != ".hpp")
if (!headerFile.is_regular_file() || Nz::PathToString(headerFile.path().extension()) != ".hpp")
continue;
std::string filepath = Nz::PathToString(headerFile.path());