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: |