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
commit dc318d3080
Notes: sideshowbarker 2024-07-17 09:39:38 +09:00

View file

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