summaryrefslogtreecommitdiff
path: root/TAO/tests/CDR/octet_sequence.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/CDR/octet_sequence.cpp')
-rw-r--r--TAO/tests/CDR/octet_sequence.cpp16
1 files changed, 5 insertions, 11 deletions
diff --git a/TAO/tests/CDR/octet_sequence.cpp b/TAO/tests/CDR/octet_sequence.cpp
index 4c4f9519ac6..40c076a1065 100644
--- a/TAO/tests/CDR/octet_sequence.cpp
+++ b/TAO/tests/CDR/octet_sequence.cpp
@@ -27,15 +27,10 @@ ACE_Message_Block * m3;
void dump(char * msg)
{
- ACE_DEBUG ((LM_INFO,
- "%s\n"
- "m1: %d\n"
- "m2: %d\n"
- "m3: %d\n",
- msg,
- m1->data_block()->reference_count(),
- m2->data_block()->reference_count(),
- m3->data_block()->reference_count()));
+ cout << msg << "\n"
+ << "m1: " << m1->data_block()->reference_count() << "\n"
+ << "m2: " << m2->data_block()->reference_count() << "\n"
+ << "m3: " << m3->data_block()->reference_count() << endl;
}
int main(int, char*[])
@@ -63,8 +58,7 @@ int main(int, char*[])
TAO_OutputCDR cdr;
cdr.write_octet_array_mb(m1);
dump("expect 3,3,3"); // that's what I expected, anyway
- ACE_DEBUG ((LM_INFO, "total cdr length is %u\n",
- ACE_static_cast (u_int, cdr.total_length())));
+ cout << "total cdr length is " << cdr.total_length() << endl;
}
dump("expect 2,2,2"); // that's what I expected, anyway