diff options
-rw-r--r-- | absl/container/inlined_vector.h | 12 | ||||
-rw-r--r-- | absl/debugging/symbolize_unimplemented.inc | 3 |
2 files changed, 9 insertions, 6 deletions
diff --git a/absl/container/inlined_vector.h b/absl/container/inlined_vector.h index b6063441a0e9..c2f9d44b8c67 100644 --- a/absl/container/inlined_vector.h +++ b/absl/container/inlined_vector.h @@ -799,8 +799,8 @@ class InlinedVector { } private: - template <typename Hash, typename OtherT, size_t OtherN, typename OtherA> - friend Hash AbslHashValue(Hash, const InlinedVector<OtherT, OtherN, OtherA>&); + template <typename Hash, typename TheT, size_t TheN, typename TheA> + friend Hash AbslHashValue(Hash, const InlinedVector<TheT, TheN, TheA>& 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<T, N, A>& a, return !(a < b); } -template <typename Hash, typename T, size_t N, typename A> -Hash AbslHashValue(Hash hash, const InlinedVector<T, N, A>& inlined_vector) { - auto p = inlined_vector.data(); - auto n = inlined_vector.size(); +template <typename Hash, typename TheT, size_t TheN, typename TheA> +Hash AbslHashValue(Hash hash, const InlinedVector<TheT, TheN, TheA>& 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 2a3f4acb0e1a..98b3a9ae4fd1 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 |