summaryrefslogtreecommitdiff
path: root/TAO/examples
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples')
-rw-r--r--TAO/examples/RTCORBA/Activity/Activity.cpp2
-rw-r--r--TAO/examples/RTCORBA/Activity/Job_i.cpp5
2 files changed, 2 insertions, 5 deletions
diff --git a/TAO/examples/RTCORBA/Activity/Activity.cpp b/TAO/examples/RTCORBA/Activity/Activity.cpp
index f2599260fdf..bc6efbc0efe 100644
--- a/TAO/examples/RTCORBA/Activity/Activity.cpp
+++ b/TAO/examples/RTCORBA/Activity/Activity.cpp
@@ -119,7 +119,7 @@ Activity::init (int& argc, char *argv []
}
int
-Activity::resolve_naming_service (TAO_ENV_ARG_DECL)
+Activity::resolve_naming_service (TAO_ENV_SINGLE_ARG_DECL)
{
CORBA::Object_var naming_obj =
this->orb_->resolve_initial_references ("NameService"
diff --git a/TAO/examples/RTCORBA/Activity/Job_i.cpp b/TAO/examples/RTCORBA/Activity/Job_i.cpp
index 26fd9bb22da..dd9cb6a1056 100644
--- a/TAO/examples/RTCORBA/Activity/Job_i.cpp
+++ b/TAO/examples/RTCORBA/Activity/Job_i.cpp
@@ -52,11 +52,8 @@ Job_i::work (CORBA::ULong work TAO_ENV_ARG_DECL_NOT_USED)
}
void
-Job_i::shutdown (TAO_ENV_ARG_DECL_NOT_USED)
+Job_i::shutdown (TAO_ENV_SINGLE_ARG_DECL_NOT_USED)
ACE_THROW_SPEC ((CORBA::SystemException))
{
ACTIVITY::instance()->job_ended (this);
}
-
-
-