From a2d0db96766b4924fcdbe68bfa0fbeef76ab722d Mon Sep 17 00:00:00 2001 From: wheremyfoodat Date: Tue, 14 Mar 2023 01:26:01 +0200 Subject: [PATCH] Fixing Mac Build --- include/fs/archive_base.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/fs/archive_base.hpp b/include/fs/archive_base.hpp index c3ce9511..6a76e1f5 100644 --- a/include/fs/archive_base.hpp +++ b/include/fs/archive_base.hpp @@ -140,8 +140,8 @@ protected: template bool isPathSafe(const FSPath& path) { static_assert(format == PathType::ASCII || format == PathType::UTF16); - using String = std::conditional::type; // String type for the path - using Char = String::value_type; // Char type for the path + using String = typename std::conditional::type; // String type for the path + using Char = typename String::value_type; // Char type for the path String pathString, dots; if constexpr (std::is_same()) {