mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 00:05:36 +00:00
Bug 1571292
- -Wbool-operation: fix a warning (! instead of ~) r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D40574 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
97a8b6a8cd
commit
a34ae8d650
@ -330,7 +330,7 @@ class BlocksRingBuffer {
|
||||
|
||||
// Index past the end of this block, which is the start of the next block.
|
||||
BlockIndex NextBlockIndex() const {
|
||||
MOZ_ASSERT(~IsAtEnd());
|
||||
MOZ_ASSERT(!IsAtEnd());
|
||||
BufferReader reader = mRing->mBuffer.ReaderAt(Index(mBlockIndex));
|
||||
Length entrySize = reader.ReadULEB128<Length>();
|
||||
return BlockIndex(reader.CurrentIndex() + entrySize);
|
||||
|
Loading…
Reference in New Issue
Block a user