diff options
Diffstat (limited to 'ACE/examples/APG')
-rw-r--r-- | ACE/examples/APG/Streams/Answerer.cpp | 2 | ||||
-rw-r--r-- | ACE/examples/APG/Streams/EndTask.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ACE/examples/APG/Streams/Answerer.cpp b/ACE/examples/APG/Streams/Answerer.cpp index fb461a8e3ff..f760490efad 100644 --- a/ACE/examples/APG/Streams/Answerer.cpp +++ b/ACE/examples/APG/Streams/Answerer.cpp @@ -243,7 +243,7 @@ public: //FUZZ: enable check_for_lack_ACE_OS if (tail == 0) ACE_NEW_RETURN (tail, - Module (ACE_TEXT ("End Module"), new EndTask ()), + Module (ACE_TEXT ("End Module"), new TheEndTask ()), -1); this->inherited::open (arg, head, tail); // Listing 1000 diff --git a/ACE/examples/APG/Streams/EndTask.h b/ACE/examples/APG/Streams/EndTask.h index a42eca655d9..6d63818fd86 100644 --- a/ACE/examples/APG/Streams/EndTask.h +++ b/ACE/examples/APG/Streams/EndTask.h @@ -5,7 +5,7 @@ #define END_TASK_H // Listing 1 code/ch18 -class EndTask : public BasicTask { +class TheEndTask : public BasicTask { protected: virtual int process (Message *) { @@ -16,7 +16,7 @@ protected: virtual int next_step (ACE_Message_Block *mb) { ACE_DEBUG ((LM_DEBUG, - ACE_TEXT ("EndTask::next_step() - ") + ACE_TEXT ("TheEndTask::next_step() - ") ACE_TEXT ("end of the line.\n"))); mb->release (); return 0; |