-
Notifications
You must be signed in to change notification settings - Fork 608
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change optional fields to use std::optional from folly::Optional
Summary: Most optional members nowadays are using folly::Optional now, generally we should prefer the standard library version since now std::optional and folly::Optional are the same in most cases. Also we should return members as const optional& which saves a copy. Reviewed By: praihan Differential Revision: D26900622 fbshipit-source-id: 08788e801f449c7cae674d8a669cddd71ce36310
- Loading branch information
1 parent
78f7bd9
commit 1fefc21
Showing
2 changed files
with
16 additions
and
15 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