This commit is contained in:
Nav
2024-10-26 19:27:16 +01:00
parent 08af052ba9
commit e82d59d190

View File

@@ -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;
}