aboutsummaryrefslogtreecommitdiff
path: root/core/fxcrt/data_vector.h
blob: 258c5a9f0e9eb13ffe4681654b32c7ce0c6b4322 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright 2022 The PDFium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CORE_FXCRT_DATA_VECTOR_H_
#define CORE_FXCRT_DATA_VECTOR_H_

#include <vector>

#include "core/fxcrt/fx_memory_wrappers.h"

namespace fxcrt {

template <typename T>
using DataVector = std::vector<T, FxAllocAllocator<T>>;

}  // namespace fxcrt

using fxcrt::DataVector;

#endif  // CORE_FXCRT_DATA_VECTOR_H_