Using new RAII epoll instance wrapper in GDB server and Connection class

This commit is contained in:
Nav
2022-03-28 01:04:14 +01:00
parent 2b55f8f5ea
commit b339bfe016
6 changed files with 77 additions and 114 deletions

View File

@@ -4,8 +4,8 @@
namespace Bloom::DebugServers::Gdb
{
DebugSession::DebugSession(const Connection& connection, const TargetDescriptor& targetDescriptor)
: connection(connection)
DebugSession::DebugSession(Connection&& connection, const TargetDescriptor& targetDescriptor)
: connection(std::move(connection))
, targetDescriptor(targetDescriptor)
{}