diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2018-07-28 11:09:23 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2018-07-28 11:09:23 +0000 |
| commit | f73363f1dd94996356cefbf24388f561891acf0b (patch) | |
| tree | e3c31248bdb36eaec5fd833490d4278162dba2a0 /source/API/SBStream.cpp | |
| parent | 160ee69dd7ae18978f4068116777639ea98dc951 (diff) | |
Notes
Diffstat (limited to 'source/API/SBStream.cpp')
| -rw-r--r-- | source/API/SBStream.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/source/API/SBStream.cpp b/source/API/SBStream.cpp index 159ec07e4e023..d1af77a40fa34 100644 --- a/source/API/SBStream.cpp +++ b/source/API/SBStream.cpp @@ -26,8 +26,8 @@ SBStream::~SBStream() {} bool SBStream::IsValid() const { return (m_opaque_ap.get() != NULL); } -// If this stream is not redirected to a file, it will maintain a local -// cache for the stream data which can be accessed using this accessor. +// If this stream is not redirected to a file, it will maintain a local cache +// for the stream data which can be accessed using this accessor. const char *SBStream::GetData() { if (m_is_file || m_opaque_ap.get() == NULL) return NULL; @@ -35,9 +35,8 @@ const char *SBStream::GetData() { return static_cast<StreamString *>(m_opaque_ap.get())->GetData(); } -// If this stream is not redirected to a file, it will maintain a local -// cache for the stream output whose length can be accessed using this -// accessor. +// If this stream is not redirected to a file, it will maintain a local cache +// for the stream output whose length can be accessed using this accessor. size_t SBStream::GetSize() { if (m_is_file || m_opaque_ap.get() == NULL) return 0; |
