move getMapIdByValue to FieldMask.h
commitffeef4fbfe340541bf5d7169255c10a02827fb0a
authorAmi Oka <aoka@fb.com>
Fri, 9 Sep 2022 22:04:08 +0000 (9 15:04 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Fri, 9 Sep 2022 22:04:08 +0000 (9 15:04 -0700)
tree87cba12d9f5a2999d98bd2def3e22d9602a7cb74
parent7e56c980db6e2ca8463ee5c7d5d2638769a499ab
move getMapIdByValue to FieldMask.h

Summary: Moved getMapIdByValue to FieldMask.h, and changed Patch.cpp and Object.h to use the function.

Reviewed By: Mizuchi

Differential Revision: D39364529

fbshipit-source-id: f4633036b311bd2fe97ab9c52613d290cbd2f4b7
third-party/thrift/src/thrift/lib/cpp2/detail/FieldMask.cpp
third-party/thrift/src/thrift/lib/cpp2/detail/FieldMask.h
third-party/thrift/src/thrift/lib/cpp2/protocol/Patch.cpp
third-party/thrift/src/thrift/lib/cpp2/protocol/detail/Object.cpp [deleted file]
third-party/thrift/src/thrift/lib/cpp2/protocol/detail/Object.h