From d68772d45a8ae28eeaab89f8ce14c239423930ad Mon Sep 17 00:00:00 2001 From: Max Kellermann <max@musicpd.org> Date: Mon, 24 Apr 2017 20:19:14 +0200 Subject: [PATCH] util/{Foreign,Static}FifoBuffer: update API documentation --- src/util/ForeignFifoBuffer.hxx | 4 ++-- src/util/StaticFifoBuffer.hxx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/util/ForeignFifoBuffer.hxx b/src/util/ForeignFifoBuffer.hxx index d90cb59d1..c36a817a2 100644 --- a/src/util/ForeignFifoBuffer.hxx +++ b/src/util/ForeignFifoBuffer.hxx @@ -144,7 +144,7 @@ public: /** * Prepares writing. Returns a buffer range which may be written. - * When you are finished, call append(). + * When you are finished, call Append(). */ Range Write() { if (IsEmpty()) @@ -172,7 +172,7 @@ public: /** * Expands the tail of the buffer, after data has been written to - * the buffer returned by write(). + * the buffer returned by Write(). */ void Append(size_type n) { assert(tail <= capacity); diff --git a/src/util/StaticFifoBuffer.hxx b/src/util/StaticFifoBuffer.hxx index d68ddb2dc..c5331b352 100644 --- a/src/util/StaticFifoBuffer.hxx +++ b/src/util/StaticFifoBuffer.hxx @@ -88,7 +88,7 @@ public: /** * Prepares writing. Returns a buffer range which may be written. - * When you are finished, call append(). + * When you are finished, call Append(). */ Range Write() { if (IsEmpty()) @@ -101,7 +101,7 @@ public: /** * Expands the tail of the buffer, after data has been written to - * the buffer returned by write(). + * the buffer returned by Write(). */ void Append(size_type n) { assert(tail <= size);