commit | abb472c238468e7ec7f0c8b8041af2bf725c0f73 | [log] [tgz] |
---|---|---|
author | Ryan Prichard <rprichard@google.com> | Thu Feb 08 22:48:03 2024 -0800 |
committer | Ryan Prichard <rprichard@google.com> | Thu Feb 08 23:20:10 2024 -0800 |
tree | e9a2b5abb0f09fade1174db11522be4d4a6b1949 | |
parent | c72c9a6d3c460d10fd5f9dfcd537daab261df168 [diff] |
libsnapshot: replace non-character basic_string[_view]<T> In newer versions of libc++, std::char_traits<T> is no longer defined for non-character types, and a result, std::basic_string<T> and std::basic_string_view<T> are also no longer defined for non-character types. See https://discourse.llvm.org/t/deprecating-std-string-t-for-non-character-t/66779. Replace them with std::vector<T> and std::span<const T>. Bug: 175635923 Test: m MODULES-IN-system-core-fs_mgr Test: /data/nativetest64/cow_api_test/cow_api_test Change-Id: Ife2e87833ced43ff24e5765998cb6993e4f9b4c0