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

Unified Diff: net/quic/core/congestion_control/send_algorithm_simulator.cc

Issue 2314863003: Fix all Performance and Bug-Prone patterns in quic/core. No functional change. Not flag protected. (Closed)
Patch Set: Created 4 years, 3 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 | « no previous file | net/quic/core/crypto/crypto_server_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/congestion_control/send_algorithm_simulator.cc
diff --git a/net/quic/core/congestion_control/send_algorithm_simulator.cc b/net/quic/core/congestion_control/send_algorithm_simulator.cc
index bdb8b91e7e12610827a155b652a10067f5c39eda..7bc797aeef7686b63bc680c7b5d380593349a215 100644
--- a/net/quic/core/congestion_control/send_algorithm_simulator.cc
+++ b/net/quic/core/congestion_control/send_algorithm_simulator.cc
@@ -56,7 +56,7 @@ SendAlgorithmSimulator::Transfer::Transfer(Sender* sender,
bytes_lost(0),
bytes_in_flight(0),
start_time(start_time),
- name(name) {}
+ name(std::move(name)) {}
SendAlgorithmSimulator::SendAlgorithmSimulator(MockClock* clock,
QuicBandwidth bandwidth,
« no previous file with comments | « no previous file | net/quic/core/crypto/crypto_server_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698