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