diff options
author | thegeorg <thegeorg@yandex-team.com> | 2023-11-29 12:09:33 +0300 |
---|---|---|
committer | thegeorg <thegeorg@yandex-team.com> | 2023-11-29 12:37:45 +0300 |
commit | 828320171bedc3cc8521e9045bf85e9ee083e00a (patch) | |
tree | f27f81370a0f32c6d801f3fa9a9d92d6e98dab24 | |
parent | dcda3030c895c5155ae88d7fb34ec28fe59e3a7c (diff) | |
download | ydb-828320171bedc3cc8521e9045bf85e9ee083e00a.tar.gz |
Unconditionally provide `FromString<std::fs::path>()`
This is a follow-up for rXXXXXX.
-rw-r--r-- | util/string/cast.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/util/string/cast.cpp b/util/string/cast.cpp index b48c09396b..2922b986c2 100644 --- a/util/string/cast.cpp +++ b/util/string/cast.cpp @@ -463,13 +463,10 @@ std::string FromStringImpl<std::string>(const char* data, size_t len) { return std::string(data, len); } -#ifndef USE_STL_SYSTEM -// FIXME thegeorg@: remove #ifndef upon raising minimal macOS version to 10.15 in https://st.yandex-team.ru/DTCC-836 template <> std::filesystem::path FromStringImpl<std::filesystem::path>(const char* data, size_t len) { return std::filesystem::path(std::string(data, len)); } -#endif template <> TUtf16String FromStringImpl<TUtf16String>(const wchar16* data, size_t len) { |