Skip to content

Commit

Permalink
ちゃんと初期化する
Browse files Browse the repository at this point in the history
  • Loading branch information
torikizi committed Dec 30, 2024
1 parent 36bbab5 commit b9e59d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/sora.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,7 @@ void Sora::DoConnect(const sora_conf::internal::ConnectConfig& cc,
d.compress = dc.compress;
}
if (dc.has_header()) {
d.header = std::vector<boost::json::value>();
d.header->reserve(dc.header.content.size());
for (const auto& json_str : dc.header.content) {
boost::system::error_code ec;
Expand Down

0 comments on commit b9e59d7

Please sign in to comment.