summaryrefslogtreecommitdiff
path: root/TAO/examples/RTScheduling/POA_Holder.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/RTScheduling/POA_Holder.h')
-rw-r--r--TAO/examples/RTScheduling/POA_Holder.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/TAO/examples/RTScheduling/POA_Holder.h b/TAO/examples/RTScheduling/POA_Holder.h
index 28adbd31a18..8319c86ef1a 100644
--- a/TAO/examples/RTScheduling/POA_Holder.h
+++ b/TAO/examples/RTScheduling/POA_Holder.h
@@ -19,10 +19,7 @@
#include "tao/PortableServer/PortableServer.h"
//#include "activity_export.h"
#include "ace/SString.h"
-
-ACE_BEGIN_VERSIONED_NAMESPACE_DECL
-class ACE_Arg_Shifter;
-ACE_END_VERSIONED_NAMESPACE_DECL
+#include "ace/Arg_Shifter.h"
/**
* @class POA_Holder
@@ -38,7 +35,7 @@ public:
/// The arg_shifter options are read in the following manner:
///-POA <name> -PriorityModel <CLIENT|SERVER> <priority> -Lanes <count> (-Lane <priority> ,<static_threads> <dynamic_threads>)* -Bands <count> (-Band <low> <high>)*
- int init (ACE_Arg_Shifter& arg_shifter);
+ int init (ACE_TArg_Shifter<char>& arg_shifter);
/// Activate the new POA using the parameters initialized before.
void activate (RTCORBA::RTORB_ptr rt_orb, PortableServer::POA_ptr parent_poa