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

ircd::buffer: Adorn out-of-line asio glue with noexcept.

This commit is contained in:
Jason Volk 2022-03-22 12:17:07 -07:00
parent 952e3d1f02
commit 2106263dd4
3 changed files with 4 additions and 4 deletions

View file

@ -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 &);

View file

@ -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

View file

@ -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
{