-
Notifications
You must be signed in to change notification settings - Fork 15.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace
std::any
with a custom solution. (#20251)
`std::any` leads to compiler errors in some versions of gcc during constructibility trait checks. Now that we can guarantee it, return by reference to avoid extra costs in copies. PiperOrigin-RevId: 723478744 Co-authored-by: Protobuf Team Bot <protobuf-github-bot@google.com>
- Loading branch information
1 parent
d9ac521
commit 6250d09
Showing
2 changed files
with
35 additions
and
12 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