mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 22:17:44 +00:00
AK: Allow constructing an empty NonnullRefPtrVector.
This commit is contained in:
parent
7cc9ce8380
commit
9ab3718266
1 changed files with 4 additions and 0 deletions
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue