summaryrefslogtreecommitdiff
path: root/examples/Misc
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-08-22 16:35:02 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-08-22 16:35:02 +0000
commitd2b2508368a06328dc3dae5fd65de900ccee126f (patch)
treea7ff5b97568e2dd701371c714ffb5fda1bc5a791 /examples/Misc
parent75be7fa77b4ecdb572c9f32f4c8c227ca272a436 (diff)
downloadATCD-d2b2508368a06328dc3dae5fd65de900ccee126f.tar.gz
replaced use of ostream with ACE_OS::fprintf
Diffstat (limited to 'examples/Misc')
-rw-r--r--examples/Misc/test_dump.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/Misc/test_dump.cpp b/examples/Misc/test_dump.cpp
index 994cd204c7b..4428f65c4cd 100644
--- a/examples/Misc/test_dump.cpp
+++ b/examples/Misc/test_dump.cpp
@@ -1,6 +1,6 @@
-// The following code illustrates how the ACE_Dumpable mechanisms are
// $Id$
+// The following code illustrates how the ACE_Dumpable mechanisms are
// integrated into ACE components like the SOCK_Acceptor and
// SOCK_Stream.
@@ -13,7 +13,7 @@ public:
~SOCK (void) { ACE_REMOVE_OBJECT; }
void dump (void) const {
- cerr << "hello from SOCK = " << (u_long) this << endl;
+ ACE_OS::fprintf (stderr, "hello from SOCK = %lu\n", (u_long) this);
}
// ...
@@ -26,7 +26,7 @@ public:
~SOCK_Acceptor (void) { ACE_REMOVE_OBJECT; }
void dump (void) const {
- cerr << "hello from SOCK_Acceptor = " << (u_long) this << endl;
+ ACE_OS::fprintf (stderr, "hello from SOCK_Acceptor = %lu\n", (u_long) this);
}
// ...
@@ -39,7 +39,7 @@ public:
~SOCK_Stream (void) { ACE_REMOVE_OBJECT; }
void dump (void) const {
- cerr << "hello from SOCK_Stream = " << (u_long) this << endl;
+ ACE_OS::fprintf (stderr, "hello from SOCK_Stream = %lu\n", (u_long) this);
}
// ...