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

#pragma once

#include <AK/NonnullPtrVector.h>
#include <Kernel/Library/NonnullLockRefPtr.h>

namespace AK {

template<typename T, size_t inline_capacity>
class NonnullLockRefPtrVector : public NonnullPtrVector<NonnullLockRefPtr<T>, inline_capacity> {
    using NonnullPtrVector<NonnullLockRefPtr<T>, inline_capacity>::NonnullPtrVector;
};

}

using AK::NonnullLockRefPtrVector;