diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1996-11-18 03:54:18 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1996-11-18 03:54:18 +0000 |
commit | f1681c8976998b26b19bdf6cb4db18194aeea3e7 (patch) | |
tree | 1533ee8d335981fe7fe8a3d792ebd4d137566e52 /examples | |
parent | a0a5ab621183f0511113fdc1e52f8a59b6a09be3 (diff) | |
download | ATCD-f1681c8976998b26b19bdf6cb4db18194aeea3e7.tar.gz |
whoopie!!
whoopie, more new stuff, more things will break!!
I have no idea about this file. Heck, I am not even Doug!
Diffstat (limited to 'examples')
-rw-r--r-- | examples/ASX/Message_Queue/priority_buffer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/ASX/Message_Queue/priority_buffer.cpp b/examples/ASX/Message_Queue/priority_buffer.cpp index 2abeb9e7a03..984c31c98bb 100644 --- a/examples/ASX/Message_Queue/priority_buffer.cpp +++ b/examples/ASX/Message_Queue/priority_buffer.cpp @@ -43,7 +43,7 @@ consumer (ACE_Message_Queue<ACE_MT_SYNCH> *msg_queue) ACE_OS::puts (mb->rd_ptr ()); // Free up the buffer memory and the Message_Block. - ACE_Service_Config::allocator ()->free (mb->rd_ptr ()); + ACE_Service_Config::alloc ()->free (mb->rd_ptr ()); delete mb; if (length == 0) @@ -69,7 +69,7 @@ producer (ACE_Message_Queue<ACE_MT_SYNCH> *msg_queue) // Keep reading stdin, until we reach EOF. - for (int n; ; ) + for (;;) { // Allocate a new buffer. char *buffer = rb.read ('\n'); |