commit | fe0abfe4eaadd42dd9477f98f7bfb542ea0d1660 | [log] [tgz] |
---|---|---|
author | Chris Wailes <chriswailes@google.com> | Wed Jul 21 11:39:57 2021 -0700 |
committer | Chris Wailes <chriswailes@google.com> | Wed Jul 21 11:43:41 2021 -0700 |
tree | 64a1202de4ef5af1f09351c7ab516cceffcf53cb | |
parent | 339e3c3e89a80932bc3c9ca517ea969cc88faadb [diff] |
Replace if statement with call to Option::map This CL replaces an if-statement with a call to the Option::map function. Having manual implementations of Option::map became a warning with the 1.52.1 compiler update, and this was promoted to an error by the build system. Test: TH Change-Id: I13e4adfbc84fbe855fd7d573e43e65bf602e0a5b