diff --git a/include/ghc/filesystem.hpp b/include/ghc/filesystem.hpp index 4ab3980..a1badad 100644 --- a/include/ghc/filesystem.hpp +++ b/include/ghc/filesystem.hpp @@ -212,14 +212,17 @@ class GHC_FS_API_CLASS path #if defined(GHC_OS_WINDOWS) && defined(GHC_WIN_WSTRING_STRING_TYPE) #define GHC_USE_WCHAR_T : private path_helper_base -#else - : private path_helper_base -#endif { public: - using path_helper_base::value_type; + using path_helper_base::value_type; +#else + : private path_helper_base +{ +public: + using path_helper_base::value_type; +#endif using string_type = std::basic_string; - using path_helper_base::preferred_separator; + using path_helper_base::preferred_separator; // 30.10.10.1 enumeration format /// The path format in wich the constructor argument is given.