Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1680)

Unified Diff: net/socket/tcp_listen_socket_unittest.h

Issue 1107943002: Replace const by value return values to const by ref in net/socket/tcp_listen_socket_unittest.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added AUTHOR file. Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « AUTHORS ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/socket/tcp_listen_socket_unittest.h
diff --git a/net/socket/tcp_listen_socket_unittest.h b/net/socket/tcp_listen_socket_unittest.h
index 984442afdc04b62fe40483c09581c89b0ad13c18..cd19a1caefc1914f29517634febec16ca2bcbbdd 100644
--- a/net/socket/tcp_listen_socket_unittest.h
+++ b/net/socket/tcp_listen_socket_unittest.h
@@ -48,7 +48,7 @@ class TCPListenSocketTestAction {
: action_(action),
data_(data) {}
- const std::string data() const { return data_; }
+ const std::string& data() const { return data_; }
ActionType type() const { return action_; }
private:
« no previous file with comments | « AUTHORS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698