mirror of
https://github.com/matrix-construct/construct
synced 2024-12-26 15:33:54 +01:00
ircd::buffer: Adorn out-of-line asio glue with noexcept.
This commit is contained in:
parent
952e3d1f02
commit
2106263dd4
3 changed files with 4 additions and 4 deletions
|
@ -15,7 +15,7 @@ struct ircd::buffer::const_buffer
|
|||
:buffer<const char *>
|
||||
{
|
||||
// Definition for this is somewhere in the .cc files where boost is incl.
|
||||
operator boost::asio::const_buffer() const;
|
||||
operator boost::asio::const_buffer() const noexcept;
|
||||
|
||||
// For boost::spirit conceptual compliance; illegal/noop
|
||||
void insert(const char *const &, const char &);
|
||||
|
|
|
@ -19,7 +19,7 @@ struct ircd::buffer::mutable_buffer
|
|||
{
|
||||
// The definition for this is somewhere in one of the .cc files.
|
||||
/// Conversion offered for the analogous asio buffer.
|
||||
operator boost::asio::mutable_buffer() const;
|
||||
operator boost::asio::mutable_buffer() const noexcept;
|
||||
|
||||
/// Allows boost::spirit to append to the buffer; this means the size() of
|
||||
/// this buffer becomes a consumption counter and the real size of the buffer
|
||||
|
|
|
@ -3189,7 +3189,7 @@ ircd::buffer::null_buffers
|
|||
|
||||
ircd::buffer::mutable_buffer::operator
|
||||
boost::asio::mutable_buffer()
|
||||
const
|
||||
const noexcept
|
||||
{
|
||||
return boost::asio::mutable_buffer
|
||||
{
|
||||
|
@ -3199,7 +3199,7 @@ const
|
|||
|
||||
ircd::buffer::const_buffer::operator
|
||||
boost::asio::const_buffer()
|
||||
const
|
||||
const noexcept
|
||||
{
|
||||
return boost::asio::const_buffer
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue