Get rid of StreamBuffer::read_entire_contents and StreamBuffer::hash
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user