mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-27 02:53:10 +01:00
FIFOBufferStream (g++ pacify)
This commit is contained in:
@@ -41,6 +41,7 @@
|
||||
|
||||
|
||||
#include "Poco/Foundation.h"
|
||||
#include "Poco/Exception.h"
|
||||
#include <cstring>
|
||||
#include <cstddef>
|
||||
|
||||
@@ -134,7 +135,7 @@ public:
|
||||
/// is thrown.
|
||||
{
|
||||
if (!_ownMem)
|
||||
throw InvalidAccessException("Cannot resize buffer which does not own its storage.");
|
||||
throw Poco::InvalidAccessException("Cannot resize buffer which does not own its storage.");
|
||||
|
||||
poco_assert(newCapacity);
|
||||
|
||||
|
||||
@@ -132,8 +132,8 @@ class Foundation_API FIFOBufferStream: public FIFOIOS, public std::iostream
|
||||
/// An output stream for writing to a FIFO.
|
||||
{
|
||||
public:
|
||||
Poco::BasicEvent<bool>& readable;
|
||||
Poco::BasicEvent<bool>& writable;
|
||||
Poco::BasicEvent<bool>& readable;
|
||||
|
||||
explicit FIFOBufferStream(FIFOBuffer& buffer);
|
||||
/// Creates the FIFOBufferStream with supplied buffer as initial value.
|
||||
|
||||
Reference in New Issue
Block a user