Switch QuicMakeUnique to std::make_unique, part 1: //third_party/quic
gfe-relnote: n/a (no functional change)
PiperOrigin-RevId: 267662077
Change-Id: Ic63023042eafb77aa80d88749845f841b3078c57
diff --git a/quic/test_tools/fake_proof_source.cc b/quic/test_tools/fake_proof_source.cc
index 8f1cd37..c47208f 100644
--- a/quic/test_tools/fake_proof_source.cc
+++ b/quic/test_tools/fake_proof_source.cc
@@ -80,7 +80,7 @@
return;
}
- pending_ops_.push_back(QuicMakeUnique<GetProofOp>(
+ pending_ops_.push_back(std::make_unique<GetProofOp>(
server_address, hostname, server_config, transport_version,
std::string(chlo_hash), std::move(callback), delegate_.get()));
}
@@ -106,7 +106,7 @@
}
QUIC_LOG(INFO) << "Adding pending op";
- pending_ops_.push_back(QuicMakeUnique<ComputeSignatureOp>(
+ pending_ops_.push_back(std::make_unique<ComputeSignatureOp>(
server_address, hostname, signature_algorithm, in, std::move(callback),
delegate_.get()));
}