mirror of
https://github.com/Expand-sys/CCash
synced 2025-12-18 09:02:14 +11:00
🐛 seg fault bug fixed
This commit is contained in:
parent
7972f9857d
commit
c833f66d9f
2 changed files with 5 additions and 5 deletions
|
|
@ -26,7 +26,7 @@ struct Log
|
||||||
data[i] = std::move(data[i - 1]);
|
data[i] = std::move(data[i - 1]);
|
||||||
}
|
}
|
||||||
data[0] = std::move(v);
|
data[0] = std::move(v);
|
||||||
end += (end < max_log_size); //branchless
|
end += (end + 1 < max_log_size); //branchless
|
||||||
}
|
}
|
||||||
Json::Value Serialize() const
|
Json::Value Serialize() const
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue