diff options
author | Max Kellermann <max@duempel.org> | 2013-12-19 10:30:26 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-12-19 10:30:26 +0100 |
commit | 52dca859c7ad32ac0869f75326ea82731d7d2271 (patch) | |
tree | c970234fcfbbaac1d6640b31decb3fce8acb4dd4 /src/Partition.hxx | |
parent | f5443163140ee4ffba66748d3e9ff30160563bb2 (diff) | |
download | mpd-52dca859c7ad32ac0869f75326ea82731d7d2271.tar.gz mpd-52dca859c7ad32ac0869f75326ea82731d7d2271.tar.xz mpd-52dca859c7ad32ac0869f75326ea82731d7d2271.zip |
util/PeakBuffer: use IsEmpty() instead of IsNull()
The DynamicFifoBuffer methods never return nullptr when the buffer is
empty or full; instead, they return an empty buffer. This bug caused
an endless loop.
Diffstat (limited to 'src/Partition.hxx')
0 files changed, 0 insertions, 0 deletions