From 5138c955329d4c38b9ca575e658294f3ade27345 Mon Sep 17 00:00:00 2001 From: "Alexander V. Wolf" Date: Tue, 29 Oct 2024 21:03:51 +0700 Subject: [PATCH] Fix compiling --- plugins/TelescopeControl/src/INDI/test/testINDIConnection.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/TelescopeControl/src/INDI/test/testINDIConnection.cpp b/plugins/TelescopeControl/src/INDI/test/testINDIConnection.cpp index 3ea33fb840e86..868743aadfc0b 100644 --- a/plugins/TelescopeControl/src/INDI/test/testINDIConnection.cpp +++ b/plugins/TelescopeControl/src/INDI/test/testINDIConnection.cpp @@ -62,9 +62,9 @@ void TestINDIConnection::listDevices() INDI::BaseDevice device; device.setDeviceName("dummy"); - instance.newDevice(&device); + instance.newDevice(device); QVERIFY(instance.devices().size() == 1); - instance.removeDevice(&device); + instance.removeDevice(device); QVERIFY(instance.devices().empty()); }