Remove trailing whitespace (#3668)

This commit is contained in:
John Vandenberg
2022-07-07 17:18:20 +08:00
committed by GitHub
parent 0af9524e16
commit 0e6e16645c
1330 changed files with 23570 additions and 23571 deletions

View File

@@ -31,9 +31,9 @@
namespace Poco {
template <typename ch, typename tr>
template <typename ch, typename tr>
class BasicMemoryStreamBuf: public std::basic_streambuf<ch, tr>
/// BasicMemoryStreamBuf is a simple implementation of a
/// BasicMemoryStreamBuf is a simple implementation of a
/// stream buffer for reading and writing from a memory area.
///
/// This streambuf only supports unidirectional streams.
@@ -145,7 +145,7 @@ public:
{
return 0;
}
std::streamsize charsWritten() const
{
return static_cast<std::streamsize>(this->pptr() - this->pbase());
@@ -158,7 +158,7 @@ public:
this->setg(_pBuffer, _pBuffer, _pBuffer + _bufferSize);
this->setp(_pBuffer, _pBuffer + _bufferSize);
}
private:
char_type* _pBuffer;
std::streamsize _bufferSize;
@@ -184,13 +184,13 @@ class Foundation_API MemoryIOS: public virtual std::ios
public:
MemoryIOS(char* pBuffer, std::streamsize bufferSize);
/// Creates the basic stream.
~MemoryIOS();
/// Destroys the stream.
MemoryStreamBuf* rdbuf();
/// Returns a pointer to the underlying streambuf.
protected:
MemoryStreamBuf _buf;
};
@@ -203,7 +203,7 @@ public:
MemoryInputStream(const char* pBuffer, std::streamsize bufferSize);
/// Creates a MemoryInputStream for the given memory area,
/// ready for reading.
~MemoryInputStream();
/// Destroys the MemoryInputStream.
};
@@ -216,7 +216,7 @@ public:
MemoryOutputStream(char* pBuffer, std::streamsize bufferSize);
/// Creates a MemoryOutputStream for the given memory area,
/// ready for writing.
~MemoryOutputStream();
/// Destroys the MemoryInputStream.