Skip to content

Commit

Permalink
fix missing returns
Browse files Browse the repository at this point in the history
  • Loading branch information
pereira0x committed Dec 8, 2023
1 parent 0c3857f commit 03e79bf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/utils/protocol.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,8 @@ std::stringstream ListAuctionsResponse::serialize() {
} else {
throw InvalidPacketException();
}
buffer << std::endl;
return buffer;
};

void ListAuctionsResponse::deserialize(std::stringstream &buffer) {
Expand Down Expand Up @@ -484,6 +486,8 @@ std::stringstream ShowRecordResponse::serialize() {
} else {
throw InvalidPacketException();
}
buffer << std::endl;
return buffer;
};

void ShowRecordResponse::deserialize(std::stringstream &buffer) {
Expand Down

0 comments on commit 03e79bf

Please sign in to comment.