Revert "TransferID::subtracted()"

This reverts commit c36fdb2156.
This commit is contained in:
Pavel Kirienko
2015-07-20 12:40:27 +03:00
parent c36fdb2156
commit 29aff593aa
3 changed files with 1 additions and 37 deletions
-7
View File
@@ -52,11 +52,4 @@ int TransferID::computeForwardDistance(TransferID rhs) const
return d;
}
int TransferID::subtracted(TransferID rhs) const
{
const int x = rhs.computeForwardDistance(*this);
return (x >= ((1 << BitLen) / 2)) ? (x - (1 << BitLen)) : x;
}
}