From c5c48d83aa25e7423250f91242a6ecbb2bf686a7 Mon Sep 17 00:00:00 2001
From: "Joachim Wuttke (h)" <j.wuttke@fz-juelich.de>
Date: Tue, 13 Feb 2024 12:02:00 +0100
Subject: [PATCH] resolve auto

---
 GUI/Model/Device/InstrumentsSet.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/GUI/Model/Device/InstrumentsSet.cpp b/GUI/Model/Device/InstrumentsSet.cpp
index f42c5f76f14..ae1aee8bad3 100644
--- a/GUI/Model/Device/InstrumentsSet.cpp
+++ b/GUI/Model/Device/InstrumentsSet.cpp
@@ -86,7 +86,7 @@ void InstrumentsSet::emplace_back(InstrumentItem* item)
 
 InstrumentItem* InstrumentsSet::insertItemCopy(const InstrumentItem& source)
 {
-    auto* copy = source.createItemCopy();
+    InstrumentItem* copy = source.createItemCopy();
     copy->setId(QUuid::createUuid().toString());
     emplace_back(copy);
     return copy;
-- 
GitLab