From ef9f353d3a90b5325700b8d14d9f3e54920d5a36 Mon Sep 17 00:00:00 2001 From: Austin Henriksen Date: Mon, 14 Dec 2020 12:04:25 -0500 Subject: Removed u8 qualifier from string constants in slice2cpp. This fixes #1179. --- cpp/src/slice2cpp/Gen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/src') diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp index 7790ec60bf2..94ced867a5c 100644 --- a/cpp/src/slice2cpp/Gen.cpp +++ b/cpp/src/slice2cpp/Gen.cpp @@ -108,7 +108,7 @@ writeConstantValue(IceUtilInternal::Output& out, const TypePtr& type, const Synt bool wide = (typeContext & TypeContextUseWstring) || findMetaData(metaData) == "wstring"; if(wide || cpp11) { - out << (wide ? "L\"" : "u8\""); + out << (wide ? "L\"" : "\""); out << toStringLiteral(value, "\a\b\f\n\r\t\v", "?", UCN, cpp11 ? 0 : 0x9F + 1); out << "\""; } -- cgit v1.2.3