Skip to content

Commit 1fc560c

Browse files
committed
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.
1 parent a7a2fdb commit 1fc560c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

icu4c/source/common/udata.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1196,7 +1196,7 @@ doOpenChoice(const char *path, const char *type, const char *name,
11961196
*p = U_FILE_SEP_CHAR;
11971197
}
11981198
#if defined (UDATA_DEBUG)
1199-
fprintf(stderr, "Changed path from [%s] to [%s]\n", path, altSepPath.s);
1199+
fprintf(stderr, "Changed path from [%s] to [%s]\n", path, altSepPath.data());
12001200
#endif
12011201
path = altSepPath.data();
12021202
}

0 commit comments

Comments
 (0)