summaryrefslogtreecommitdiff
path: root/ace/IOStream.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1997-05-03 22:44:29 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1997-05-03 22:44:29 +0000
commit6fdc123c601a3f58942924c639757df366049743 (patch)
treef259a828748eac9e886983e3f9d3e44f0a0a8d1c /ace/IOStream.cpp
parent440ffb3f2559ea0ea76be0f1502f4d094fb7eeab (diff)
downloadATCD-6fdc123c601a3f58942924c639757df366049743.tar.gz
*** empty log message ***
Diffstat (limited to 'ace/IOStream.cpp')
-rw-r--r--ace/IOStream.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/ace/IOStream.cpp b/ace/IOStream.cpp
index e12a466288b..6c182b0f6bd 100644
--- a/ace/IOStream.cpp
+++ b/ace/IOStream.cpp
@@ -1,7 +1,7 @@
// IOStream.cpp
// $Id$
-#ifndef ACE_IOSTREAM_C
+#if !defined (ACE_IOSTREAM_C)
#define ACE_IOSTREAM_C
#define ACE_BUILD_DLL
@@ -14,7 +14,6 @@
/* Here's a simple example of how iostream's non-virtual operators can
get you in a mess:
-
class myiostream : public iostream
{
public:
@@ -651,12 +650,14 @@ ACE_IOStream<STREAM>::ACE_IOStream (STREAM & stream, u_int streambuf_size)
: iostream (streambuf_ = new ACE_Streambuf<STREAM> ((STREAM *) this, streambuf_size)),
STREAM (stream)
{
+ iostream::init (this->streambuf_);
}
template <class STREAM>
ACE_IOStream<STREAM>::ACE_IOStream (u_int streambuf_size)
: iostream (streambuf_ = new ACE_Streambuf<STREAM> ((STREAM *) this, streambuf_size))
{
+ iostream::init (this->streambuf_);
}
// We have to get rid of the streambuf_ ourselves since we gave it to