xref: /aosp_15_r20/external/pdfium/core/fxcrt/data_vector.h (revision 3ac0a46f773bac49fa9476ec2b1cf3f8da5ec3a4)
1 // Copyright 2022 The PDFium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef CORE_FXCRT_DATA_VECTOR_H_
6 #define CORE_FXCRT_DATA_VECTOR_H_
7 
8 #include <vector>
9 
10 #include "core/fxcrt/fx_memory_wrappers.h"
11 
12 namespace fxcrt {
13 
14 template <typename T>
15 using DataVector = std::vector<T, FxAllocAllocator<T>>;
16 
17 }  // namespace fxcrt
18 
19 using fxcrt::DataVector;
20 
21 #endif  // CORE_FXCRT_DATA_VECTOR_H_
22