1
0
mirror of synced 2026-03-22 12:18:41 +08:00

auto commit

This commit is contained in:
yitter
2025-04-10 13:37:49 +08:00
parent b355947388
commit 942ba6adcb
3 changed files with 3 additions and 3 deletions

View File

@@ -213,7 +213,7 @@ namespace idgen
int64_t CalcTurnBackId()
{
uint64_t result = (_SnowFlakeWorker._LastTimeTick << _SnowFlakeWorker._TimestampShift) | (_SnowFlakeWorker.WorkerId << _SnowFlakeWorker.SeqBitLength) |
uint64_t result = (_SnowFlakeWorker._TurnBackTimeTick << _SnowFlakeWorker._TimestampShift) | (_SnowFlakeWorker.WorkerId << _SnowFlakeWorker.SeqBitLength) |
(_SnowFlakeWorker._TurnBackIndex);
_SnowFlakeWorker._TurnBackTimeTick--;
return result;