Removed invalid copy-constructor call for GdbRspDebugServer::activeDebugSession member

This commit is contained in:
Nav
2022-03-25 00:17:28 +00:00
parent 013c3072c0
commit e18a9bad19

View File

@@ -128,7 +128,9 @@ namespace Bloom::DebugServers::Gdb
connection->accept(this->serverSocketFileDescriptor); connection->accept(this->serverSocketFileDescriptor);
Logger::info("Accepted GDP RSP connection from " + connection->getIpAddress()); Logger::info("Accepted GDP RSP connection from " + connection->getIpAddress());
this->activeDebugSession = DebugSession(connection.value(), this->getGdbTargetDescriptor()); this->activeDebugSession.emplace(
DebugSession(connection.value(), this->getGdbTargetDescriptor())
);
EventManager::triggerEvent(std::make_shared<Events::DebugSessionStarted>()); EventManager::triggerEvent(std::make_shared<Events::DebugSessionStarted>());
/* /*