mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-01 20:10:28 +00:00
AK: Allow constructing an empty NonnullRefPtrVector.
This commit is contained in:
parent
7cc9ce8380
commit
9ab3718266
Notes:
sideshowbarker
2024-07-19 13:28:33 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/9ab37182660
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…
Reference in a new issue