Tidying
This commit is contained in:
@@ -13,13 +13,13 @@ namespace Bloom::DebugServer::Gdb::Exceptions
|
||||
class ClientCommunicationError: public Bloom::Exceptions::Exception
|
||||
{
|
||||
public:
|
||||
explicit ClientCommunicationError(const std::string& message): Bloom::Exceptions::Exception(message) {
|
||||
this->message = message;
|
||||
}
|
||||
explicit ClientCommunicationError(const std::string& message)
|
||||
: Bloom::Exceptions::Exception(message)
|
||||
{}
|
||||
|
||||
explicit ClientCommunicationError(const char* message): Bloom::Exceptions::Exception(message) {
|
||||
this->message = std::string(message);
|
||||
}
|
||||
explicit ClientCommunicationError(const char* message)
|
||||
: Bloom::Exceptions::Exception(message)
|
||||
{}
|
||||
|
||||
explicit ClientCommunicationError() = default;
|
||||
};
|
||||
|
||||
@@ -14,14 +14,6 @@ namespace Bloom::DebugServer::Gdb::Exceptions
|
||||
class ClientDisconnected: public Bloom::Exceptions::Exception
|
||||
{
|
||||
public:
|
||||
explicit ClientDisconnected(const std::string& message): Bloom::Exceptions::Exception(message) {
|
||||
this->message = message;
|
||||
}
|
||||
|
||||
explicit ClientDisconnected(const char* message): Bloom::Exceptions::Exception(message) {
|
||||
this->message = std::string(message);
|
||||
}
|
||||
|
||||
explicit ClientDisconnected() = default;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -13,13 +13,13 @@ namespace Bloom::DebugServer::Gdb::Exceptions
|
||||
class ClientNotSupported: public Bloom::Exceptions::Exception
|
||||
{
|
||||
public:
|
||||
explicit ClientNotSupported(const std::string& message): Bloom::Exceptions::Exception(message) {
|
||||
this->message = message;
|
||||
}
|
||||
explicit ClientNotSupported(const std::string& message)
|
||||
: Bloom::Exceptions::Exception(message)
|
||||
{}
|
||||
|
||||
explicit ClientNotSupported(const char* message): Bloom::Exceptions::Exception(message) {
|
||||
this->message = std::string(message);
|
||||
}
|
||||
explicit ClientNotSupported(const char* message)
|
||||
: Bloom::Exceptions::Exception(message)
|
||||
{}
|
||||
|
||||
explicit ClientNotSupported() = default;
|
||||
};
|
||||
|
||||
@@ -179,7 +179,7 @@ namespace Bloom::DebugServer::Gdb
|
||||
this->targetControllerConsole.resetTarget();
|
||||
}
|
||||
|
||||
auto commandPacket = this->waitForCommandPacket();
|
||||
const auto commandPacket = this->waitForCommandPacket();
|
||||
|
||||
if (commandPacket) {
|
||||
commandPacket->handle(this->activeDebugSession.value(), this->targetControllerConsole);
|
||||
|
||||
Reference in New Issue
Block a user