mirror of
https://github.com/matrix-construct/construct
synced 2024-12-25 15:04:10 +01:00
ircd::buffer::parse_buffer: Remove erroneous cast operator.
This commit is contained in:
parent
f3afd69bca
commit
656ef1572e
1 changed files with 0 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue