Bladeren bron

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

Ben Wiederhake 3 jaren geleden
bovenliggende
commit
ac00d8b4eb
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      Userland/Libraries/LibWeb/DOM/ExceptionOr.h

+ 1 - 1
Userland/Libraries/LibWeb/DOM/ExceptionOr.h

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