Fix small bug in StreamBuffer
This commit is contained in:
@@ -134,6 +134,7 @@ void LuaSnap::snapshot() {
|
||||
void LuaSnap::rollback() {
|
||||
assert(snapshot_.write_count() != 0);
|
||||
deserialize(&snapshot_);
|
||||
assert(snapshot_.at_eof());
|
||||
snapshot_.clear();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user