diff options
Diffstat (limited to 'TAO/examples/RTCORBA/Activity/Thread_Task.cpp')
-rw-r--r-- | TAO/examples/RTCORBA/Activity/Thread_Task.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/TAO/examples/RTCORBA/Activity/Thread_Task.cpp b/TAO/examples/RTCORBA/Activity/Thread_Task.cpp index 08c9450f44e..fabfb8c28a2 100644 --- a/TAO/examples/RTCORBA/Activity/Thread_Task.cpp +++ b/TAO/examples/RTCORBA/Activity/Thread_Task.cpp @@ -63,8 +63,7 @@ Thread_Task::svc (void) // Get the priority of the current thread. RTCORBA::Priority prio = - ACTIVITY::instance()->current ()->the_priority (ACE_ENV_SINGLE_ARG_PARAMETER); - ACE_CHECK_RETURN (-1); + ACTIVITY::instance()->current ()->the_priority (); if (prio == this->task_priority_) ACE_DEBUG ((LM_DEBUG, |