summaryrefslogtreecommitdiff
path: root/CIAO/DAnCE/NodeApplicationManager/ImplementationInfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'CIAO/DAnCE/NodeApplicationManager/ImplementationInfo.cpp')
-rw-r--r--CIAO/DAnCE/NodeApplicationManager/ImplementationInfo.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/CIAO/DAnCE/NodeApplicationManager/ImplementationInfo.cpp b/CIAO/DAnCE/NodeApplicationManager/ImplementationInfo.cpp
index af905369dcf..436715588c4 100644
--- a/CIAO/DAnCE/NodeApplicationManager/ImplementationInfo.cpp
+++ b/CIAO/DAnCE/NodeApplicationManager/ImplementationInfo.cpp
@@ -3,7 +3,6 @@
#define CIAO_IMPLEMENTATION_INFO_CPP
#include "ImplementationInfo.h"
-#include "ciao/CIAO_ServerResourcesC.h"
#include "ace/SString.h"
CIAO::NodeImplementationInfoHandler::
@@ -31,9 +30,11 @@ CIAO::NodeImplementationInfoHandler::node_impl_info (void) const
void
CIAO::NodeImplementationInfoHandler::populate_server_resource_def (void)
{
- CORBA::ULong const instance_len = plan_.instance.length ();
+ const CORBA::ULong instance_len = plan_.instance.length ();
const char * target_resource_id = 0;
+ CORBA::ULong i;
+
// Iterate over the instance list to find whether any server resource
// has been specified
// TODO: We shoud do some sanity check here, since all the component
@@ -47,7 +48,7 @@ CIAO::NodeImplementationInfoHandler::populate_server_resource_def (void)
// ServerResource file will be deployed in the same NA. However,
// those using different ServerResource files should be deployed to
// different NAs. Something to be fixed later.
- for (CORBA::ULong i = 0; i < instance_len; ++i)
+ for (i = 0; i < instance_len; ++i)
{
if (this->plan_.instance[i].deployedResource.length () != 0)
{