ws: cannot use << with an std::vector
This commit is contained in:
parent
99f9556aa9
commit
1c7634d075
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user