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()) {