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

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