AK: Allow constructing an empty NonnullRefPtrVector.

This commit is contained in:
Andreas Kling 2019-06-27 13:23:10 +02:00
parent 7cc9ce8380
commit 9ab3718266
Notes: sideshowbarker 2024-07-19 13:28:33 +09:00

View file

@ -10,6 +10,10 @@ class NonnullRefPtrVector : public Vector<NonnullRefPtr<T>, inline_capacity> {
typedef Vector<NonnullRefPtr<T>> Base;
public:
NonnullRefPtrVector()
{
}
NonnullRefPtrVector(Vector<NonnullRefPtr<T>>&& other)
: Base(static_cast<Base&&>(other))
{