-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: Currently, `CursorBase::peek()` returns `pair<uint8_t const*, size_t>` and `CursorBase::peekView()` returns `basic_string_view<uint8_t>`. Consolidate them into `CursorBase::peek()` returning `span<uint8_t const>`. As one motivation, libc++ v19 removes `basic_string_view<uint8_t>`. Reviewed By: thevinster Differential Revision: D62460851 fbshipit-source-id: 72d567817faf778287594c10dfd7f6f379bf2446
- Loading branch information
1 parent
c4e5844
commit 3f21ed6
Showing
4 changed files
with
20 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters