diff --git a/src/DebugServers/GdbRsp/AvrGdb/AvrGdbRsp.hpp b/src/DebugServers/GdbRsp/AvrGdb/AvrGdbRsp.hpp index 7f2e8f62..861c338b 100644 --- a/src/DebugServers/GdbRsp/AvrGdb/AvrGdbRsp.hpp +++ b/src/DebugServers/GdbRsp/AvrGdb/AvrGdbRsp.hpp @@ -42,10 +42,10 @@ namespace Bloom::DebugServers::Gdb::AvrGdb void init() override; const Gdb::TargetDescriptor& getGdbTargetDescriptor() override { - return this->gdbTargetDescriptor; + return this->gdbTargetDescriptor.value(); } private: - TargetDescriptor gdbTargetDescriptor; + std::optional gdbTargetDescriptor; }; }