aboutsummaryrefslogtreecommitdiff
path: root/libcxx/src/filesystem/path.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/src/filesystem/path.cpp')
-rw-r--r--libcxx/src/filesystem/path.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/libcxx/src/filesystem/path.cpp b/libcxx/src/filesystem/path.cpp
index 5874244..9f7dc54 100644
--- a/libcxx/src/filesystem/path.cpp
+++ b/libcxx/src/filesystem/path.cpp
@@ -24,7 +24,10 @@ using parser::string_view_t;
// path definitions
///////////////////////////////////////////////////////////////////////////////
+_LIBCPP_DIAGNOSTIC_PUSH
+_LIBCPP_CLANG_DIAGNOSTIC_IGNORED("-Wdeprecated")
constexpr path::value_type path::preferred_separator;
+_LIBCPP_DIAGNOSTIC_POP
path& path::replace_extension(path const& replacement) {
path p = extension();