Tidying
This commit is contained in:
@@ -233,7 +233,7 @@ namespace Bloom::DebugServer::Gdb
|
||||
throw ClientCommunicationError("GDB client attempted to send too much data");
|
||||
}
|
||||
|
||||
bytesToRead = (!bytes.has_value() || (*bytes - output.size()) > bufferSize)
|
||||
bytesToRead = !bytes.has_value() || (*bytes - output.size()) > bufferSize
|
||||
? bufferSize
|
||||
: (*bytes - output.size());
|
||||
}
|
||||
|
||||
@@ -15,15 +15,11 @@ namespace Bloom::DebugServer::Gdb::Exceptions
|
||||
public:
|
||||
explicit DebugSessionInitialisationFailure(const std::string& message)
|
||||
: Bloom::Exceptions::Exception(message)
|
||||
{
|
||||
this->message = message;
|
||||
}
|
||||
{}
|
||||
|
||||
explicit DebugSessionInitialisationFailure(const char* message)
|
||||
: Bloom::Exceptions::Exception(message)
|
||||
{
|
||||
this->message = std::string(message);
|
||||
}
|
||||
{}
|
||||
|
||||
explicit DebugSessionInitialisationFailure() = default;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user