From 3676ab2ed4a2a7ad024defad50d95355f35ae8e4 Mon Sep 17 00:00:00 2001 From: Jarek Kobus Date: Tue, 27 Aug 2024 09:05:17 +0200 Subject: [PATCH] Android: Pass Port by const ref instead of by value Amends 501725b19b15fd6a95c1042e52dad36a38290bd9 Change-Id: I508303df23ca4d9d166c8d4ebe4126c4c8181ae9 Reviewed-by: Christian Stenger --- src/plugins/android/androidrunnerworker.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/android/androidrunnerworker.h b/src/plugins/android/androidrunnerworker.h index d91ec3560f9..94674ba7472 100644 --- a/src/plugins/android/androidrunnerworker.h +++ b/src/plugins/android/androidrunnerworker.h @@ -10,10 +10,10 @@ #include #include -#include namespace Android { class AndroidDeviceInfo; } namespace ProjectExplorer { class RunControl; } +namespace Utils { class Port; } namespace Android::Internal { @@ -29,7 +29,7 @@ public: void asyncStop(); signals: - void remoteProcessStarted(Utils::Port debugServerPort, const QUrl &qmlServer, qint64 pid); + void remoteProcessStarted(const Utils::Port &debugServerPort, const QUrl &qmlServer, qint64 pid); void remoteProcessFinished(const QString &errString = QString()); void remoteOutput(const QString &output);