mirror of
https://github.com/matrix-construct/construct
synced 2025-02-18 01:30:12 +01:00
ircd::buffer: Use buffer::empty() rather than buffer::null() for bool operators.
This commit is contained in:
parent
becd247de3
commit
5fae1f36cf
1 changed files with 2 additions and 2 deletions
|
@ -113,7 +113,7 @@ ircd::buffer::unique_buffer<buffer>::operator
|
|||
bool()
|
||||
const
|
||||
{
|
||||
return !this->buffer::null();
|
||||
return !this->buffer::empty();
|
||||
}
|
||||
|
||||
template<class buffer>
|
||||
|
@ -121,5 +121,5 @@ bool
|
|||
ircd::buffer::unique_buffer<buffer>::operator!()
|
||||
const
|
||||
{
|
||||
return this->buffer::null();
|
||||
return this->buffer::empty();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue