LibUnicode: Fully qualify use of AK::Variant in Locale.h

The generated locale data contains an enum also named Variant, as
variants are part of locale strings. This hasn't been an issue, but as
includes are reordered, the order in which the enum and AK::Variant are
included may cause an ambiguity error.
This commit is contained in:
Timothy Flynn 2022-09-02 11:02:34 -04:00 committed by Tim Flynn
parent 85994d6115
commit e3e0602833
Notes: sideshowbarker 2024-07-17 07:30:29 +09:00

View file

@ -52,7 +52,7 @@ struct OtherExtension {
String value {};
};
using Extension = Variant<LocaleExtension, TransformedExtension, OtherExtension>;
using Extension = AK::Variant<LocaleExtension, TransformedExtension, OtherExtension>;
struct LocaleID {
String to_string() const;