🐛 seg fault bug fixed

This commit is contained in:
EntireTwix 2021-05-29 20:11:02 -07:00
parent 7972f9857d
commit c833f66d9f
2 changed files with 5 additions and 5 deletions

View file

@ -26,7 +26,7 @@ struct Log
data[i] = std::move(data[i - 1]);
}
data[0] = std::move(v);
end += (end < max_log_size); //branchless
end += (end + 1 < max_log_size); //branchless
}
Json::Value Serialize() const
{