From 2cdf0003b7660fd316e8a3da1096d27ad3b0ed47 Mon Sep 17 00:00:00 2001 From: Mate Barany Date: Fri, 31 May 2024 14:07:00 +0200 Subject: [PATCH] Minor cleanup in tst_qnetworkreply MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Remove using namespace std::chrono literals from httpConnectionCount, it is already included at the top of the file. Change-Id: I2dd748735a26a173c7a7361b313b87668a6fd805 Reviewed-by: Juha Vuolle Reviewed-by: MÃ¥rten Nordheim --- tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp b/tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp index a26d2c809b0..64e7716e0c7 100644 --- a/tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp +++ b/tests/auto/network/access/qnetworkreply/tst_qnetworkreply.cpp @@ -6682,7 +6682,6 @@ void tst_QNetworkReply::httpConnectionCount() int pendingConnectionCount = 0; - using namespace std::chrono_literals; const auto newPendingConnection = [&server]() { return server->hasPendingConnections(); }; // If we have http2 enabled then the second connection will take a little // longer to be established because we will wait for the first one to finish