summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorkitty <kitty@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-06-22 23:06:44 +0000
committerkitty <kitty@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-06-22 23:06:44 +0000
commitd861dfc153f15b28480ffc42dce258dc501f7aaf (patch)
tree558d638e1bf1af308e145a109bd44c568bb4d5e4 /examples
parente5bdb010a1b29a7d87ce40662f4726f8cfd11b65 (diff)
downloadATCD-d861dfc153f15b28480ffc42dce258dc501f7aaf.tar.gz
ChangeLogTag: Fri Jun 22 18:00:51 2001 Krishnakumar B <kitty@cs.wustl.edu>
Diffstat (limited to 'examples')
-rw-r--r--examples/Log_Msg/test_ostream.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/Log_Msg/test_ostream.cpp b/examples/Log_Msg/test_ostream.cpp
index 098e5de05a0..68abe913852 100644
--- a/examples/Log_Msg/test_ostream.cpp
+++ b/examples/Log_Msg/test_ostream.cpp
@@ -46,8 +46,7 @@ main (int, char *[])
#if !defined (ACE_LACKS_IOSTREAM_TOTALLY)
// Create a persistent store.
const char *filename = "output";
- int flags = ios::out | ios::trunc;
- ofstream myostream (filename, flags);
+ ofstream myostream (filename, ios::out | ios::trunc);
// Check for errors.
if (myostream.bad ())