summaryrefslogtreecommitdiff
path: root/ace/IOStream_T.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1997-11-17 08:09:25 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1997-11-17 08:09:25 +0000
commit1ac39dc62b1920d39095e05ce92fdef6afb7fbcf (patch)
treea2f6c717bbe6af4201ed3c704c88870afb1d34df /ace/IOStream_T.cpp
parentcc91701d7182ff5de8d24a8323007c33958dc7a1 (diff)
downloadATCD-1ac39dc62b1920d39095e05ce92fdef6afb7fbcf.tar.gz
*** empty log message ***
Diffstat (limited to 'ace/IOStream_T.cpp')
-rw-r--r--ace/IOStream_T.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/ace/IOStream_T.cpp b/ace/IOStream_T.cpp
index 4f52ae60b3a..be58c574282 100644
--- a/ace/IOStream_T.cpp
+++ b/ace/IOStream_T.cpp
@@ -8,7 +8,7 @@
#if !defined (ACE_LACKS_ACE_IOSTREAM)
#if defined (ACE_HAS_MINIMUM_IOSTREAMH_INCLUSION) && defined (__GNUG__)
-# if ! defined (ACE_IOSTREAM_T_H)
+# if !defined (ACE_IOSTREAM_T_H)
// _Only_ define this when compiling this .cpp file standalone, not
// when instantiating templates. Its purpose is to provide something
// for global constructors and destructors to be tied to. Without it,
@@ -116,9 +116,11 @@ ACE_IOStream<STREAM>::operator>> (ACE_IOStream_String &v)
if (ipfx0 ())
{
char c;
- iostream::operator>> (c);
+ this->get (c);
- for (v = c; this->get (c) && !isspace (c); v += c)
+ for (v = c;
+ this->get (c) && !isspace (c);
+ v += c)
continue;
}
@@ -144,6 +146,7 @@ ACE_IOStream<STREAM>::operator<< (ACE_IOStream_String &v)
return *this;
}
+
// A more clever put operator for strings that knows how to deal with
// quoted strings containing back-quoted quotes.