-
Notifications
You must be signed in to change notification settings - Fork 484
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
trivial: use default member initialization for PageStat
otherwise we are at the mercy of the caller to initialize it, and the only call point does it by hand right now. minor associated cleanups: the tests can use PageStats{} when we are expecting all zeros and explicitly use FieldsAre when asserting all of the elements. this also means they won't break if somebody merges a bad operator==. PiperOrigin-RevId: 571970426 Change-Id: Ia2dd1f19b1763a46053e56580ed58f3380972e1a
- Loading branch information
1 parent
db8a827
commit 87d8e40
Showing
3 changed files
with
34 additions
and
28 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