Tidied GDB response packet classes

This commit is contained in:
Nav
2022-04-06 17:39:21 +01:00
parent 7fdfa389da
commit 42fd57cb6a
6 changed files with 34 additions and 34 deletions

View File

@@ -10,10 +10,8 @@ namespace Bloom::DebugServer::Gdb::ResponsePackets
class ErrorResponsePacket: public ResponsePacket
{
public:
ErrorResponsePacket() = default;
[[nodiscard]] std::vector<unsigned char> getData() const override {
return {'E', '0', '1'};
}
ErrorResponsePacket()
: ResponsePacket(std::vector<unsigned char>{'E', '0', '1'})
{};
};
}