From 66be4ba6c3335057fcc43962a89392a1c8f553aa Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Mon, 13 Apr 2020 22:15:13 -0700 Subject: [PATCH] ircd::buffer: Minor cleanup; named parameters. --- include/ircd/buffer/buffer.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/ircd/buffer/buffer.h b/include/ircd/buffer/buffer.h index 792a7f57a..738d3afe5 100644 --- a/include/ircd/buffer/buffer.h +++ b/include/ircd/buffer/buffer.h @@ -80,12 +80,12 @@ namespace ircd::buffer // Single buffer mutators template size_t consume(buffer &buffer, const size_t &bytes); template buffer &operator+=(buffer &buffer, const size_t &bytes); - char *©(char *&dest, char *const &stop, const const_buffer &); - char *&move(char *&dest, char *const &stop, const const_buffer &); - template size_t copy(const mutable_buffer &dst, const char (&buf)[SIZE]); - template size_t move(const mutable_buffer &dst, const char (&buf)[SIZE]); + char *©(char *&dest, char *const &stop, const const_buffer &src); + char *&move(char *&dest, char *const &stop, const const_buffer &src); size_t copy(const mutable_buffer &dst, const const_buffer &src); size_t move(const mutable_buffer &dst, const const_buffer &src); + template size_t copy(const mutable_buffer &dst, const char (&)[SIZE]); + template size_t move(const mutable_buffer &dst, const char (&)[SIZE]); size_t reverse(const mutable_buffer &dst, const const_buffer &src); void reverse(const mutable_buffer &buf); size_t zero(const mutable_buffer &buf);