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
Notes: sideshowbarker 2024-07-18 03:35:13 +09:00

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<>