Skip to content

Commit

Permalink
FIFOBuffer::read(T*, std::size_t) documentation inaccurate pocoprojec…
Browse files Browse the repository at this point in the history
…t#869, part II
  • Loading branch information
aleks-f committed Jun 24, 2015
1 parent cc9fb56 commit 22bb363
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Foundation/include/Poco/FIFOBuffer.h
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ class BasicFIFOBuffer
/// preallocated to at least the length size
/// before calling this function.
///
/// Returns the reference to the buffer.
/// Returns the size of the copied data.
{
if (0 == length) return 0;
Mutex::ScopedLock lock(_mutex);
Expand All @@ -202,7 +202,7 @@ class BasicFIFOBuffer
/// Resizes the supplied buffer to the size of
/// data written to it.
///
/// Returns the reference to the buffer.
/// Returns the size of the copied data.
{
Mutex::ScopedLock lock(_mutex);
if (!isReadable()) return 0;
Expand Down

0 comments on commit 22bb363

Please sign in to comment.