From: Android Tools Maintainers Date: Sat, 28 May 2022 11:13:51 +0000 (+0100) Subject: Add missing 'std::' scope identifiers. X-Git-Tag: archive/raspbian/29.0.6-18+rpi1^2~17 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=cba2e260cac4d6d5dff7c57c2254b506b9f46835;p=android-platform-tools.git Add missing 'std::' scope identifiers. Forwarded: not-needed Gbp-Pq: Topic system/core Gbp-Pq: Name fix-standard-namespace-errors.patch --- 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);