From 34ce32d645009b45f48b7fa0b2bedd95c962a51c Mon Sep 17 00:00:00 2001 From: Android Tools Maintainers Date: Tue, 2 Aug 2022 16:23:27 +0100 Subject: [PATCH] Add missing 'std::' scope identifiers. Forwarded: not-needed Gbp-Pq: Topic system/core Gbp-Pq: Name fix-standard-namespace-errors.patch --- system/core/libunwindstack/include/unwindstack/DwarfMemory.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system/core/libunwindstack/include/unwindstack/DwarfMemory.h b/system/core/libunwindstack/include/unwindstack/DwarfMemory.h index c45699a9..7d95d486 100644 --- a/system/core/libunwindstack/include/unwindstack/DwarfMemory.h +++ b/system/core/libunwindstack/include/unwindstack/DwarfMemory.h @@ -29,7 +29,7 @@ class DwarfMemory { DwarfMemory(Memory* memory) : memory_(memory) {} virtual ~DwarfMemory() = default; - bool ReadBytes(void* dst, size_t num_bytes); + bool ReadBytes(void* dst, std::size_t num_bytes); template bool ReadSigned(uint64_t* value); @@ -39,7 +39,7 @@ class DwarfMemory { bool ReadSLEB128(int64_t* value); template - size_t GetEncodedSize(uint8_t encoding); + std::size_t GetEncodedSize(uint8_t encoding); bool AdjustEncodedValue(uint8_t encoding, uint64_t* value); -- 2.30.2