ws: cannot use << with an std::vector

This commit is contained in:
Benjamin Sergeant 2021-03-19 11:43:29 -07:00
parent 99f9556aa9
commit 1c7634d075

View File

@ -1893,7 +1893,8 @@ namespace ix
spdlog::info("ws_receive: Writing to disk: {}", filenameTmp); spdlog::info("ws_receive: Writing to disk: {}", filenameTmp);
std::ofstream out(filenameTmp); std::ofstream out(filenameTmp);
out << content; std::string contentAsString(content.begin(), content.end());
out << contentAsString;
out.close(); out.close();
spdlog::info("ws_receive: Renaming {} to {}", filenameTmp, filename); spdlog::info("ws_receive: Renaming {} to {}", filenameTmp, filename);