Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
giakki committed Mar 15, 2015
1 parent b44f52a commit f3453b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/serialize.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ std::ostream& operator<<(std::ostream& os, const ChampionBuilds& builds);

/* { "id": "item.id" "count": item.count } */
std::ostream& operator<<(std::ostream& os, const Item& item) {
os << R"({ "id": ")" << item.first << R"(", "count": )" << item.second << "}";
os << R"({ "id": ")" << item.first << R"(", "count": )" << item.second << "}"; //-V128
return os;
}

Expand All @@ -40,7 +40,7 @@ std::ostream& operator<<(std::ostream& os, const Build& build) {

/* "blocks": [ each build ], */
std::ostream& operator<<(std::ostream& os, const ChampionBuilds& builds) {
os << R"(" blocks ": [)";
os << R"("blocks": [)";
for (auto it = std::begin(builds); it != std::end(builds); ++it) {
if (it != std::begin(builds)) {
os << ",";
Expand Down

0 comments on commit f3453b6

Please sign in to comment.