1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 23:07:35 +00:00

LibWeb: Use AK::Variant default initialization in one more place

This commit is contained in:
Ben Wiederhake 2021-09-19 23:00:45 +02:00 committed by Andreas Kling
parent 8084957e88
commit ac00d8b4eb

View file

@ -112,7 +112,7 @@ public:
private:
Optional<ValueType> m_result;
// https://heycam.github.io/webidl/#idl-exceptions
Variant<Empty, SimpleException, NonnullRefPtr<DOMException>> m_exception { Empty {} };
Variant<Empty, SimpleException, NonnullRefPtr<DOMException>> m_exception {};
};
template<>