Skip to content

Commit

Permalink
Merge pull request #31 from jwnimmer-tri/deprecated-static-constexpr-…
Browse files Browse the repository at this point in the history
…storage

Fix storage deprecation warning when in C++17 mode
  • Loading branch information
gulrak authored Sep 30, 2019
2 parents 9b9528c + ee8dd08 commit 21fc37b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/ghc/filesystem.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,10 @@ class path_helper_base
#endif
};

#if __cplusplus < 201703L
template <typename char_type>
constexpr char_type path_helper_base<char_type>::preferred_separator;
#endif

// 30.10.8 class path
class GHC_FS_API_CLASS path
Expand Down

0 comments on commit 21fc37b

Please sign in to comment.