Improved RAII of DebugSession class

This commit is contained in:
Nav
2022-08-13 03:06:30 +01:00
parent d59c4f92ba
commit 2372b93e11
5 changed files with 26 additions and 37 deletions

View File

@@ -39,6 +39,12 @@ namespace Bloom::DebugServer::Gdb
const TargetDescriptor& targetDescriptor
);
void terminate();
DebugSession(const DebugSession& other) = delete;
DebugSession(DebugSession&& other) = delete;
DebugSession& operator = (const DebugSession& other) = delete;
DebugSession& operator = (DebugSession&& other) = delete;
~DebugSession();
};
}