Fix build with ToT libc++

system/core/fs_mgr/libsnapshot/include/libsnapshot/cow_reader.h:174:33: error: no template named 'vector' in namespace 'std'
  174 |     bool GetSequenceDataV2(std::vector<uint32_t>* merge_op_blocks, std::vector<int>* other_ops,
      |                            ~~~~~^

Test: Build with ToT libc++
Change-Id: I1858b30bd4eb6df39411a60a64d6bf16d2a7bfa6
This commit is contained in:
Yi Kong 2024-05-24 00:45:33 +09:00
parent 110308e5ab
commit 0e8f64bb50
2 changed files with 4 additions and 1 deletions

View file

@ -17,6 +17,8 @@
#pragma once
#include <memory>
#include <vector>
#include "libsnapshot/cow_format.h"
namespace android {
@ -50,4 +52,4 @@ class ICompressor {
const uint32_t block_size_;
};
} // namespace snapshot
} // namespace android
} // namespace android

View file

@ -19,6 +19,7 @@
#include <memory>
#include <optional>
#include <unordered_map>
#include <vector>
#include <android-base/unique_fd.h>
#include <libsnapshot/cow_format.h>