mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-05 17:16:04 +00:00
AK+Everywhere: Delete Variant's default constructor
This was exposed to the user by mistake, and even accumulated a bunch of users that didn't blow up out of sheer luck.
This commit is contained in:
parent
90e6b9d453
commit
15f95220ae
Notes:
sideshowbarker
2024-07-18 07:02:09 +09:00
Author: https://github.com/alimpfard
Commit: 15f95220ae
6 changed files with 29 additions and 11 deletions
|
@ -218,7 +218,7 @@ private:
|
|||
Unicode::Script script {};
|
||||
bool is_extension { false };
|
||||
};
|
||||
using PropertyEscape = Variant<Unicode::Property, Unicode::GeneralCategory, Script>;
|
||||
using PropertyEscape = Variant<Unicode::Property, Unicode::GeneralCategory, Script, Empty>;
|
||||
Optional<PropertyEscape> read_unicode_property_escape();
|
||||
|
||||
bool parse_pattern(ByteCode&, size_t&, bool unicode, bool named);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue