DescriptionCleanup return values in SnapshotFileDetails
This CL turns const by value return values into const by ref.
Replacing const value by a const ref when a member variable is safe, because
the member variable will live at least as long as the temporary object returned
now. It can also be more efficient, because returning a ref can spare copying.
BUG=393155
Committed: https://crrev.com/571b18256a44c782c1ac0c12bcaf13a73c0c497c
Cr-Commit-Position: refs/heads/master@{#299161}
Patch Set 1 #
Messages
Total messages: 9 (3 generated)
|