Skip to content

Commit

Permalink
refs #27, ghc::filesystem::path::preferred_seperator fix for VS2015
Browse files Browse the repository at this point in the history
  • Loading branch information
gulrak committed Sep 21, 2019
1 parent 03b437c commit aabbf8f
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions include/ghc/filesystem.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<std::wstring::value_type>
{
public:
using path_helper_base<std::wstring::value_type>::value_type;
#else
: private path_helper_base<std::string::value_type>
#endif
{
public:
using path_helper_base::value_type;
using path_helper_base<std::string::value_type>::value_type;
#endif
using string_type = std::basic_string<value_type>;
using path_helper_base::preferred_separator;
using path_helper_base<value_type>::preferred_separator;

// 30.10.10.1 enumeration format
/// The path format in wich the constructor argument is given.
Expand Down

0 comments on commit aabbf8f

Please sign in to comment.