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