summaryrefslogtreecommitdiff
path: root/ACE/ace/IOStream_T.h
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2021-06-08 09:47:36 +0200
committerJohnny Willemsen <jwillemsen@remedy.nl>2021-06-08 09:47:36 +0200
commit28b457fae1edb832ff50a8ab0edd44b27f99acc4 (patch)
tree6d63292e77a568825dba85f5bbcfdf4197cf9998 /ACE/ace/IOStream_T.h
parentf5be2f529f7579ff4fbb0c842a2ba675ef9725b2 (diff)
downloadATCD-28b457fae1edb832ff50a8ab0edd44b27f99acc4.tar.gz
Removed some !ACE_WIN32 checks, the comments talk about an ancient msvc compiler
* ACE/ace/IOStream_T.h:
Diffstat (limited to 'ACE/ace/IOStream_T.h')
-rw-r--r--ACE/ace/IOStream_T.h13
1 files changed, 4 insertions, 9 deletions
diff --git a/ACE/ace/IOStream_T.h b/ACE/ace/IOStream_T.h
index d834c525470..07dc3dd86ec 100644
--- a/ACE/ace/IOStream_T.h
+++ b/ACE/ace/IOStream_T.h
@@ -170,14 +170,12 @@ public:
if (good ())
return 1;
}
-# if !defined (ACE_WIN32)
- // MS VC++ 5.0 doesn't declare setstate.
setstate (failbit);
-# endif /* !ACE_WIN32 */
return (0);
}
- virtual int ipfx0 (void) { return ipfx (0); } // Optimized ipfx(0)
- virtual int ipfx1 (void) // Optimized ipfx(1)
+ virtual int ipfx0 (void) // Optimized ipfx(0)
+ { return ipfx (0); }
+ virtual int ipfx1 (void) // Optimized ipfx(1)
{
if (good ())
{
@@ -186,13 +184,10 @@ public:
if (good ())
return 1;
}
-# if !defined (ACE_WIN32)
- // MS VC++ 5.0 doesn't declare setstate.
setstate (failbit);
-# endif /* !ACE_WIN32 */
return (0);
}
- virtual void isfx (void) { return; }
+ virtual void isfx (void) { return; }
virtual int opfx (void)
{
if (good () && tie () != 0)