DescriptionReplace const by value return values to const by ref in net/socket/tcp_listen_socket_unittest.h
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/2cfa7f9a3496959dcf3785514d1f8fc89d471fb4
Cr-Commit-Position: refs/heads/master@{#327680}
Patch Set 1 #Patch Set 2 : Fixed the trybot issue. #Patch Set 3 : Added AUTHOR file. #Messages
Total messages: 25 (10 generated)
|