Improved naming consistency of aliases

This commit is contained in:
Nav
2022-10-01 21:01:37 +01:00
parent 2c6fd25ae4
commit 065a389dfe
56 changed files with 96 additions and 93 deletions

View File

@@ -9,7 +9,7 @@
namespace Bloom::DebugServer::Gdb
{
using RawPacketType = std::vector<unsigned char>;
using RawPacket = std::vector<unsigned char>;
/**
* The Packet class implements the data structure for GDB RSP packets.
@@ -19,7 +19,7 @@ namespace Bloom::DebugServer::Gdb
class Packet
{
public:
explicit Packet(const RawPacketType& rawPacket) {
explicit Packet(const RawPacket& rawPacket) {
this->init(rawPacket);
}
@@ -45,7 +45,7 @@ namespace Bloom::DebugServer::Gdb
*
* @return
*/
[[nodiscard]] RawPacketType toRawPacket() const {
[[nodiscard]] RawPacket toRawPacket() const {
std::vector<unsigned char> packet = {'$'};
auto data = this->getData();
@@ -139,7 +139,7 @@ namespace Bloom::DebugServer::Gdb
protected:
std::vector<unsigned char> data;
void init(const RawPacketType& rawPacket) {
void init(const RawPacket& rawPacket) {
this->data.insert(
this->data.begin(),
rawPacket.begin() + 1,