2020-01-18 09:38:21 +01:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
|
|
|
|
*
|
2021-04-22 01:24:48 -07:00
|
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
2020-01-18 09:38:21 +01:00
|
|
|
*/
|
|
|
|
|
2019-07-24 08:49:44 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <AK/NonnullOwnPtr.h>
|
2020-09-18 09:49:51 +02:00
|
|
|
#include <AK/NonnullPtrVector.h>
|
2019-07-24 08:49:44 +02:00
|
|
|
|
|
|
|
namespace AK {
|
|
|
|
|
2021-02-20 17:39:58 +01:00
|
|
|
template<typename T, size_t inline_capacity>
|
2020-09-18 09:49:51 +02:00
|
|
|
class NonnullOwnPtrVector : public NonnullPtrVector<NonnullOwnPtr<T>, inline_capacity> {
|
2019-07-24 08:49:44 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
using AK::NonnullOwnPtrVector;
|