summaryrefslogtreecommitdiff
path: root/AK/NonnullOwnPtrVector.h
blob: d6116a6893f5f223e97b563a1616c75707d486ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
 *
 * SPDX-License-Identifier: BSD-2-Clause
 */

#pragma once

#include <AK/NonnullOwnPtr.h>
#include <AK/NonnullPtrVector.h>

namespace AK {

template<typename T, size_t inline_capacity>
class NonnullOwnPtrVector : public NonnullPtrVector<NonnullOwnPtr<T>, inline_capacity> {
};

}

#if USING_AK_GLOBALLY
using AK::NonnullOwnPtrVector;
#endif