From 66f9becbb98ecc083f4db349b4b1e0ca9de93b15 Mon Sep 17 00:00:00 2001 From: Abseil Team Date: Thu, 10 Jan 2019 12:35:16 -0800 Subject: Export of internal Abseil changes. -- da7b6d9d43b2951a3487bbfd41aa2ee96b2813ef by Derek Mauro : Internal change PiperOrigin-RevId: 228757155 -- 2789fc170bed4b671a01a4106e3ba5059ff225fb by CJ Johnson : `Other` => `The` for AbslHashValue of InlinedVector PiperOrigin-RevId: 228558678 GitOrigin-RevId: da7b6d9d43b2951a3487bbfd41aa2ee96b2813ef Change-Id: Iaeb33ae791f093d94ad9f893b3455d5403429089 --- absl/container/inlined_vector.h | 12 ++++++------ absl/debugging/symbolize_unimplemented.inc | 3 +++ 2 files changed, 9 insertions(+), 6 deletions(-) (limited to 'absl') diff --git a/absl/container/inlined_vector.h b/absl/container/inlined_vector.h index b6063441..c2f9d44b 100644 --- a/absl/container/inlined_vector.h +++ b/absl/container/inlined_vector.h @@ -799,8 +799,8 @@ class InlinedVector { } private: - template - friend Hash AbslHashValue(Hash, const InlinedVector&); + template + friend Hash AbslHashValue(Hash, const InlinedVector& vec); // Holds whether the vector is allocated or not in the lowest bit and the size // in the high bits: @@ -1339,10 +1339,10 @@ bool operator>=(const InlinedVector& a, return !(a < b); } -template -Hash AbslHashValue(Hash hash, const InlinedVector& inlined_vector) { - auto p = inlined_vector.data(); - auto n = inlined_vector.size(); +template +Hash AbslHashValue(Hash hash, const InlinedVector& vec) { + auto p = vec.data(); + auto n = vec.size(); return Hash::combine(Hash::combine_contiguous(std::move(hash), p, n), n); } diff --git a/absl/debugging/symbolize_unimplemented.inc b/absl/debugging/symbolize_unimplemented.inc index 2a3f4acb..98b3a9ae 100644 --- a/absl/debugging/symbolize_unimplemented.inc +++ b/absl/debugging/symbolize_unimplemented.inc @@ -26,6 +26,9 @@ bool RemoveAllSymbolDecorators(void) { return false; } bool RegisterFileMappingHint(const void *, const void *, uint64_t, const char *) { return false; } +bool GetFileMappingHint(const void **, const void **, uint64_t *, const char **) { + return false; +} } // namespace debugging_internal -- cgit v1.2.3