Mark std.uni.isRegionalIndicator as safe

This commit is contained in:
Tomoya Tanjo 2014-10-03 11:23:16 +09:00
parent 7ae388801f
commit f23fce0026

View file

@ -6249,7 +6249,7 @@ enum controlSwitch = `
// TODO: redo the most of hangul stuff algorithmically in case of Graphemes too // TODO: redo the most of hangul stuff algorithmically in case of Graphemes too
// kill unrolled switches // kill unrolled switches
private static bool isRegionalIndicator(dchar ch) private static bool isRegionalIndicator(dchar ch) @safe
{ {
return ch >= '\U0001F1E6' && ch <= '\U0001F1FF'; return ch >= '\U0001F1E6' && ch <= '\U0001F1FF';
} }