mirror of
https://github.com/pocoproject/poco.git
synced 2025-02-20 22:31:23 +01:00
FIFOBuffer::read(T*, std::size_t) documentation inaccurate #869, part II
This commit is contained in:
parent
cc9fb56705
commit
22bb363260
@ -179,7 +179,7 @@ public:
|
||||
/// 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);
|
||||
@ -202,7 +202,7 @@ public:
|
||||
/// 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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user