From 2e0b8a98954b7904e2e3a3815aba32e6f4d7e772 Mon Sep 17 00:00:00 2001 From: Ted Pudlik Date: Fri, 5 Apr 2024 16:39:55 -0700 Subject: [PATCH] Stop using std::basic_string std::basic_string relies on a non-standard generic char_traits<> implementation, recently removed from libc++. Upstreams cl/605337651. Relevant to #116. --- runtime/cpp/test/emboss_memory_util_test.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/runtime/cpp/test/emboss_memory_util_test.cc b/runtime/cpp/test/emboss_memory_util_test.cc index 9cfcddc..c4f9ed0 100644 --- a/runtime/cpp/test/emboss_memory_util_test.cc +++ b/runtime/cpp/test/emboss_memory_util_test.cc @@ -12,6 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. +#include #if __cplusplus >= 201703L #include #endif // __cplusplus >= 201703L @@ -221,7 +222,7 @@ class ReadOnlyContiguousBufferTest : public ::testing::Test {}; typedef ::testing::Types< /**/ ::std::vector, ::std::array, ::std::vector, ::std::vector, ::std::string, - ::std::basic_string, ::std::basic_string, + ::std::basic_string, ::std::vector>, ::std::basic_string, NonstandardAllocator>>