Get rid of StreamBuffer::read_entire_contents and StreamBuffer::hash

This commit is contained in:
2023-10-18 14:32:12 -04:00
parent 3e8aa31a95
commit 6c2a27b274
4 changed files with 2 additions and 22 deletions

View File

@@ -100,7 +100,7 @@ public:
void send_lua_source(const util::LuaSourceVec &sv) {
StreamBuffer serial;
SourceDB::serialize_source(sv, &serial);
eng::string sstr = serial.read_entire_contents();
eng::string sstr(serial.view());
Invocation inv(Invocation::KIND_LUA_SOURCE, actor_id_, actor_id_, sstr);
send_invocation(inv);
}