LibCore: Add a constructor that sets the parent object

This commit is contained in:
kleines Filmröllchen 2022-12-29 14:50:05 +01:00 committed by Linus Groh
parent 30295bd988
commit dc318d3080

View file

@ -63,6 +63,10 @@ public:
private:
Promise() = default;
Promise(Object* parent)
: Object(parent)
{
}
Optional<ErrorOr<Result>> m_pending_or_error;
};