mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-07 00:29:15 +00:00
Libraries: Use AK::Variant default initialization where appropriate
This commit is contained in:
parent
98a0f9c0bd
commit
32e98d0924
Notes:
sideshowbarker
2024-07-18 03:35:49 +09:00
Author: https://github.com/BenWiederhake
Commit: 32e98d0924
Pull-request: https://github.com/SerenityOS/serenity/pull/10154
Reviewed-by: https://github.com/alimpfard
8 changed files with 12 additions and 12 deletions
|
@ -352,7 +352,7 @@ private:
|
|||
// Type::Comment (comment data), Type::StartTag and Type::EndTag (tag name)
|
||||
String m_string_data;
|
||||
|
||||
Variant<Empty, u32, OwnPtr<DoctypeData>, OwnPtr<Vector<Attribute>>> m_data { Empty {} };
|
||||
Variant<Empty, u32, OwnPtr<DoctypeData>, OwnPtr<Vector<Attribute>>> m_data {};
|
||||
|
||||
Position m_start_position;
|
||||
Position m_end_position;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue