Skip to content

Commit c404072

Browse files
committed
And more making compilers happy
1 parent 91800ac commit c404072

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/inc/sys_string/impl/misc.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@ namespace sysstr
112112
{
113113
break; case normalization::nfd:
114114
normalize_nfd<utf_encoding_of<storage_type>>()(access, std::back_inserter(builder.chars()));
115+
break; case normalization::nfc:
116+
;
115117
}
116118

117119
#else
@@ -128,7 +130,7 @@ namespace sysstr
128130
break; case normalization::nfc: normalizer = Normalizer2::getNFCInstance(ec);
129131
}
130132
normalizer->normalizeUTF8(0, StringPiece(access.c_str()), sink, nullptr, ec);
131-
icu_error_to_exception(ec);
133+
util::unicode::icu_error_to_exception(ec);
132134
#endif
133135
return builder.build();
134136
}

0 commit comments

Comments
 (0)