From 1fc560c07f34165a56b109b1a3c4be27d345a4ad Mon Sep 17 00:00:00 2001 From: Fredrik Roubert Date: Fri, 18 Aug 2023 15:35:31 +0200 Subject: [PATCH] ICU-22465 Change .s to .data() for replacing TinyString with CharString. This was forgotten by ICU-7496 which replaced the local TinyString data type with the shared CharString data type, but as it's in code heavily nested in #ifdef's it hasn't been noticed until now. --- icu4c/source/common/udata.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icu4c/source/common/udata.cpp b/icu4c/source/common/udata.cpp index 76d970f3f289..88126fc689a2 100644 --- a/icu4c/source/common/udata.cpp +++ b/icu4c/source/common/udata.cpp @@ -1196,7 +1196,7 @@ doOpenChoice(const char *path, const char *type, const char *name, *p = U_FILE_SEP_CHAR; } #if defined (UDATA_DEBUG) - fprintf(stderr, "Changed path from [%s] to [%s]\n", path, altSepPath.s); + fprintf(stderr, "Changed path from [%s] to [%s]\n", path, altSepPath.data()); #endif path = altSepPath.data(); }