0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-25 08:12:37 +01:00

ircd::buffer::parse_buffer: Remove erroneous cast operator.

This commit is contained in:
Jason Volk 2019-06-22 16:58:58 -06:00
parent f3afd69bca
commit 656ef1572e

View file

@ -25,9 +25,7 @@ struct ircd::buffer::parse_buffer
size_t remaining() const;
size_t consumed() const;
const_buffer completed() const;
explicit operator const_buffer() const;
const_buffer operator()(const closure &);
const_buffer operator()(const closure_cbuf &);
@ -93,13 +91,6 @@ ircd::buffer::parse_buffer::operator()(const closure &closure)
return completed();
}
inline ircd::buffer::parse_buffer::operator
const_buffer()
const
{
return completed();
}
inline ircd::buffer::const_buffer
ircd::buffer::parse_buffer::completed()
const