From 07bcd07b4cebe153d152e28faa13af02c1664a23 Mon Sep 17 00:00:00 2001 From: Nav Date: Fri, 25 Mar 2022 00:11:31 +0000 Subject: [PATCH] Removed Targets::TargetDescriptor reference from GDB target descriptor - was unnecessary --- src/DebugServers/GdbRsp/TargetDescriptor.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/DebugServers/GdbRsp/TargetDescriptor.hpp b/src/DebugServers/GdbRsp/TargetDescriptor.hpp index 3aa211cc..88eed6a3 100644 --- a/src/DebugServers/GdbRsp/TargetDescriptor.hpp +++ b/src/DebugServers/GdbRsp/TargetDescriptor.hpp @@ -12,9 +12,9 @@ namespace Bloom::DebugServers::Gdb { struct TargetDescriptor { - const Bloom::Targets::TargetDescriptor& targetDescriptor; + Targets::TargetDescriptor targetDescriptor; - explicit TargetDescriptor(const Bloom::Targets::TargetDescriptor& targetDescriptor) + explicit TargetDescriptor(const Targets::TargetDescriptor& targetDescriptor) : targetDescriptor(targetDescriptor) {}