mirror of
https://github.com/abseil/abseil-cpp.git
synced 2026-06-04 12:07:05 +08:00
Align types of location_table_ and mapping_table_ keys (-Wshorten-64-to-32).
PiperOrigin-RevId: 786713025 Change-Id: I0e5489899f2960d71e39dc58f5033bef3a52e36c
This commit is contained in:
committed by
Copybara-Service
parent
6ad95e1535
commit
8a3065cd5c
@@ -16,6 +16,7 @@
|
||||
#ifndef ABSL_PROFILING_INTERNAL_PROFILE_BUILDER_H_
|
||||
#define ABSL_PROFILING_INTERNAL_PROFILE_BUILDER_H_
|
||||
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -116,7 +117,7 @@ class ProfileBuilder {
|
||||
|
||||
private:
|
||||
absl::flat_hash_map<std::string, StringId> string_table_{{"", StringId(0)}};
|
||||
absl::flat_hash_map<uint64_t, LocationId> location_table_;
|
||||
absl::flat_hash_map<uintptr_t, LocationId> location_table_;
|
||||
// mapping_table_ stores the start address of each mapping in mapping_
|
||||
// to its index.
|
||||
absl::btree_map<uintptr_t, size_t> mapping_table_;
|
||||
|
||||
Reference in New Issue
Block a user