aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firestore/core/src/firebase/firestore/model/base_path.h
diff options
context:
space:
mode:
Diffstat (limited to 'Firestore/core/src/firebase/firestore/model/base_path.h')
-rw-r--r--Firestore/core/src/firebase/firestore/model/base_path.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Firestore/core/src/firebase/firestore/model/base_path.h b/Firestore/core/src/firebase/firestore/model/base_path.h
index 73ac611..bc1f89d 100644
--- a/Firestore/core/src/firebase/firestore/model/base_path.h
+++ b/Firestore/core/src/firebase/firestore/model/base_path.h
@@ -162,9 +162,9 @@ class BasePath {
#if defined(__OBJC__)
// For Objective-C++ hash; to be removed after migration.
// Do NOT use in C++ code.
- uint64_t Hash() const {
+ NSUInteger Hash() const {
std::hash<std::string> hash_fn;
- uint64_t hash_result = 0;
+ NSUInteger hash_result = 0;
for (const std::string& segment : segments_) {
hash_result = hash_result * 31u + hash_fn(segment);
}