From e82d59d190d544f584f7e08e7ca0db323c67d08d Mon Sep 17 00:00:00 2001 From: Nav Date: Sat, 26 Oct 2024 19:27:16 +0100 Subject: [PATCH] Tidying --- src/DebugServer/Gdb/AvrGdb/CommandPackets/WriteMemory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DebugServer/Gdb/AvrGdb/CommandPackets/WriteMemory.cpp b/src/DebugServer/Gdb/AvrGdb/CommandPackets/WriteMemory.cpp index 13724cca..8e1ae794 100644 --- a/src/DebugServer/Gdb/AvrGdb/CommandPackets/WriteMemory.cpp +++ b/src/DebugServer/Gdb/AvrGdb/CommandPackets/WriteMemory.cpp @@ -29,7 +29,7 @@ namespace DebugServer::Gdb::AvrGdb::CommandPackets Logger::info("Handling WriteMemory packet"); try { - if (this->buffer.size() == 0) { + if (this->buffer.empty()) { debugSession.connection.writePacket(OkResponsePacket{}); return; }