mirror of
https://git.mirrors.martin98.com/https://github.com/gulrak/filesystem
synced 2025-06-04 11:13:58 +08:00
Merge pull request #31 from jwnimmer-tri/deprecated-static-constexpr-storage
Fix storage deprecation warning when in C++17 mode
This commit is contained in:
commit
21fc37b0e2
@ -204,8 +204,10 @@ public:
|
|||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#if __cplusplus < 201703L
|
||||||
template <typename char_type>
|
template <typename char_type>
|
||||||
constexpr char_type path_helper_base<char_type>::preferred_separator;
|
constexpr char_type path_helper_base<char_type>::preferred_separator;
|
||||||
|
#endif
|
||||||
|
|
||||||
// 30.10.8 class path
|
// 30.10.8 class path
|
||||||
class GHC_FS_API_CLASS path
|
class GHC_FS_API_CLASS path
|
||||||
|
Loading…
x
Reference in New Issue
Block a user