From aabbf8f3d880dcd0aeaa97f014d91d54dfa24ed4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steffen=20Sch=C3=BCmann?= Date: Sat, 21 Sep 2019 16:22:25 +0200 Subject: [PATCH] refs #27, ghc::filesystem::path::preferred_seperator fix for VS2015 --- include/ghc/filesystem.hpp | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) 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.