diff options
author | Konstantin Varlamov <var-const@users.noreply.github.com> | 2018-02-09 19:42:28 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-09 19:42:28 -0500 |
commit | 80033485be537acaf29924f6b717c777b550a418 (patch) | |
tree | 25c3cd3cf2d53e98767aa6ea3ae51384327e5245 /Firestore/core/src/firebase/firestore/model/resource_path.cc | |
parent | 612d99c759741bd6384102f586aed1b3874cf95b (diff) |
C++ port: add C++ equivalent of FSTDocumentKey. (#762)
Also move kDocumentKeyPath to the only point of usage - make it a static
member variable of FieldPath.
Diffstat (limited to 'Firestore/core/src/firebase/firestore/model/resource_path.cc')
-rw-r--r-- | Firestore/core/src/firebase/firestore/model/resource_path.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Firestore/core/src/firebase/firestore/model/resource_path.cc b/Firestore/core/src/firebase/firestore/model/resource_path.cc index a4f921f..c95aa63 100644 --- a/Firestore/core/src/firebase/firestore/model/resource_path.cc +++ b/Firestore/core/src/firebase/firestore/model/resource_path.cc @@ -28,7 +28,7 @@ namespace firebase { namespace firestore { namespace model { -ResourcePath ResourcePath::Parse(const absl::string_view path) { +ResourcePath ResourcePath::FromString(const absl::string_view path) { // NOTE: The client is ignorant of any path segments containing escape // sequences (e.g. __id123__) and just passes them through raw (they exist // for legacy reasons and should not be used frequently). |