diff options
author | maxim-yurchuk <maxim-yurchuk@yandex-team.com> | 2024-10-09 12:29:46 +0300 |
---|---|---|
committer | maxim-yurchuk <maxim-yurchuk@yandex-team.com> | 2024-10-09 13:14:22 +0300 |
commit | 9731d8a4bb7ee2cc8554eaf133bb85498a4c7d80 (patch) | |
tree | a8fb3181d5947c0d78cf402aa56e686130179049 /contrib/libs/cxxsupp/libcxxmsvc/.yandex_meta/patches/50-operations.patch | |
parent | a44b779cd359f06c3ebbef4ec98c6b38609d9d85 (diff) | |
download | ydb-9731d8a4bb7ee2cc8554eaf133bb85498a4c7d80.tar.gz |
publishFullContrib: true for ydb
<HIDDEN_URL>
commit_hash:c82a80ac4594723cebf2c7387dec9c60217f603e
Diffstat (limited to 'contrib/libs/cxxsupp/libcxxmsvc/.yandex_meta/patches/50-operations.patch')
-rw-r--r-- | contrib/libs/cxxsupp/libcxxmsvc/.yandex_meta/patches/50-operations.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/contrib/libs/cxxsupp/libcxxmsvc/.yandex_meta/patches/50-operations.patch b/contrib/libs/cxxsupp/libcxxmsvc/.yandex_meta/patches/50-operations.patch new file mode 100644 index 0000000000..9aba557515 --- /dev/null +++ b/contrib/libs/cxxsupp/libcxxmsvc/.yandex_meta/patches/50-operations.patch @@ -0,0 +1,26 @@ +diff --git a/src/filesystem/operations.cpp b/src/filesystem/operations.cpp +index 0e2ebdf..9e0abc8 100644 +--- a/src/filesystem/operations.cpp ++++ b/src/filesystem/operations.cpp +@@ -375,15 +375,19 @@ private: + return consumeNSeparators(consumeName(P, End), End, 2); + } + +- PosPtr consumeRootName(PosPtr P, PosPtr End) const noexcept { + #if defined(_LIBCPP_WIN32API) ++ PosPtr consumeRootName(PosPtr P, PosPtr End) const noexcept { + if (PosPtr Ret = consumeDriveLetter(P, End)) + return Ret; + if (PosPtr Ret = consumeNetworkRoot(P, End)) + return Ret; +-#endif + return nullptr; + } ++#else ++ PosPtr consumeRootName(PosPtr /*P*/, PosPtr /*End*/) const noexcept { ++ return nullptr; ++ } ++#endif + }; + + string_view_pair separate_filename(string_view_t const& s) { |