Add missing 'std::' scope identifiers.
authorAndroid Tools Maintainers <android-tools-devel@lists.alioth.debian.org>
Tue, 22 Mar 2022 22:50:07 +0000 (22:50 +0000)
committerPeter Michael Green <plugwash@raspbian.org>
Tue, 22 Mar 2022 22:50:07 +0000 (22:50 +0000)
Forwarded: not-needed

Gbp-Pq: Topic system/core
Gbp-Pq: Name fix-standard-namespace-errors.patch

system/core/libunwindstack/include/unwindstack/DwarfMemory.h

index c45699a9eafc0d3c226d648cc4e01f097bfff692..7d95d4862ff68132c89cacb95ebc75fe68c2bf37 100644 (file)
@@ -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 <typename SignedType>
   bool ReadSigned(uint64_t* value);
@@ -39,7 +39,7 @@ class DwarfMemory {
   bool ReadSLEB128(int64_t* value);
 
   template <typename AddressType>
-  size_t GetEncodedSize(uint8_t encoding);
+  std::size_t GetEncodedSize(uint8_t encoding);
 
   bool AdjustEncodedValue(uint8_t encoding, uint64_t* value);