-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Add a ToString function to create human-readable debug descriptions #2384
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 4 commits
3215889
07758ea
0a1b145
3428867
ce8da11
4084c57
f39d23f
193301f
026f517
fadadb9
6b157c4
ea32eab
baff0e6
292cdcd
eaa8f5f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,7 @@ | |
#ifndef FIRESTORE_CORE_SRC_FIREBASE_FIRESTORE_IMMUTABLE_SORTED_MAP_H_ | ||
#define FIRESTORE_CORE_SRC_FIREBASE_FIRESTORE_IMMUTABLE_SORTED_MAP_H_ | ||
|
||
#include <type_traits> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Did you mean to include There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Leftover, sorry. I tried adding some |
||
#include <utility> | ||
|
||
#include "Firestore/core/src/firebase/firestore/immutable/array_sorted_map.h" | ||
|
@@ -38,6 +39,8 @@ namespace immutable { | |
template <typename K, typename V, typename C = util::Comparator<K>> | ||
class SortedMap : public impl::SortedMapBase { | ||
public: | ||
using key_type = K; | ||
using mapped_type = V; | ||
/** The type of the entries stored in the map. */ | ||
using value_type = std::pair<K, V>; | ||
using array_type = impl::ArraySortedMap<K, V, C>; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you run
scripts/sync_project.rb
does this change?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.