mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:27:45 +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;
|
typedef Vector<NonnullRefPtr<T>> Base;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
NonnullRefPtrVector()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
NonnullRefPtrVector(Vector<NonnullRefPtr<T>>&& other)
|
NonnullRefPtrVector(Vector<NonnullRefPtr<T>>&& other)
|
||||||
: Base(static_cast<Base&&>(other))
|
: Base(static_cast<Base&&>(other))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue