mirror of
https://github.com/MadeOfJelly/MushMachine.git
synced 2024-12-04 19:23:28 +01:00
remove questionable assert in s6zer
This commit is contained in:
parent
4ab1d99529
commit
a45da5c2b0
@ -194,10 +194,6 @@ struct StreamWriter {
|
|||||||
}
|
}
|
||||||
|
|
||||||
[[nodiscard]] size_t bytesWritten(void) noexcept {
|
[[nodiscard]] size_t bytesWritten(void) noexcept {
|
||||||
// TODO: is this assert valid?
|
|
||||||
assert(_scratch_bits == 0);
|
|
||||||
|
|
||||||
//return _bits_written/8 + ((_bits_written % 8) ? 1 : 0);
|
|
||||||
return (_bits_written+7) / 8;
|
return (_bits_written+7) / 8;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user