0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-11 14:38:57 +02:00

ircd::buffer: Use buffer::empty() rather than buffer::null() for bool operators.

This commit is contained in:
Jason Volk 2020-04-29 01:46:52 -07:00
parent becd247de3
commit 5fae1f36cf

View file

@ -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();
}