We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3bdf7ce commit 842a505Copy full SHA for 842a505
libc/src/__support/wchar/character_converter.cpp
@@ -154,7 +154,9 @@ utf_ret<char8_t> CharacterConverter::pop_utf8() {
154
return {.out = 0, .error = -1};
155
}
156
157
-utf_ret<char32_t> CharacterConverter::pop_utf32() { return {0, -1}; }
+utf_ret<char32_t> CharacterConverter::pop_utf32() {
158
+ return {.out = 0, .error = -1};
159
+}
160
161
} // namespace internal
162
} // namespace LIBC_NAMESPACE_DECL
0 commit comments