mirror of
https://github.com/Expand-sys/CCash
synced 2026-03-22 20:47:10 +11:00
slight change
This commit is contained in:
parent
899851bec3
commit
9101a42b5d
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ struct Log
|
||||||
void AddTrans(Transaction &&v)
|
void AddTrans(Transaction &&v)
|
||||||
{
|
{
|
||||||
end += (end < max_log_size); //branchless
|
end += (end < max_log_size); //branchless
|
||||||
if (data.size() <= end && end < max_log_size) //if memory reserved is full and max isnt reached
|
if (data.size() == end && end < max_log_size) //if memory reserved is full and max isnt reached
|
||||||
{
|
{
|
||||||
if (data.size() + pre_log_size > max_log_size) //if prefetched memory is larger then max
|
if (data.size() + pre_log_size > max_log_size) //if prefetched memory is larger then max
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue