summaryrefslogtreecommitdiff
path: root/TAO/tao/MProfile.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2009-03-19 15:16:15 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2009-03-19 15:16:15 +0000
commit05f79f95b66418d54dc39a87eca8703a49d7f8a8 (patch)
treed16c525e711674c8b43e3f251ab37aa8a3d860bf /TAO/tao/MProfile.cpp
parent61850d108d6b37015f62fc0e904b9ff6575981d1 (diff)
downloadATCD-05f79f95b66418d54dc39a87eca8703a49d7f8a8.tar.gz
Thu Mar 19 15:16:22 UTC 2009 Johnny Willemsen <jwillemsen@remedy.nl>
* tao/MProfile.cpp: Const change * tao/Profile.cpp: Layout change * tao/ZIOP/ZIOP_ORBInitializer.cpp: * tao/ZIOP/ZIOP_Service_Context_Handler.cpp: * tao/ZIOP/ZIOP_Service_Context_Handler.h: Added a ZIOP sc handler that transfers the ZIOP enabled and idlevellist policy from the client to the server. These are transmitted through the Messaging Invocation Policies which aren't supported yet by TAO. We have to make some changes to the core and pluggable transports to make all reply and request service contexts available on all places. * tao/Makefile.am: Added new files
Diffstat (limited to 'TAO/tao/MProfile.cpp')
-rw-r--r--TAO/tao/MProfile.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/tao/MProfile.cpp b/TAO/tao/MProfile.cpp
index 352ffc47871..c4c763c7f6c 100644
--- a/TAO/tao/MProfile.cpp
+++ b/TAO/tao/MProfile.cpp
@@ -201,7 +201,7 @@ TAO_MProfile::add_profiles (TAO_MProfile *pfiles)
{
// this->size_ == total number of profiles we can hold
// this->last_ == the index of the last profile
- CORBA::ULong space = this->size_ - this->last_;
+ CORBA::ULong const space = this->size_ - this->last_;
if (space < pfiles->last_)
{
@@ -364,7 +364,7 @@ TAO_MProfile::give_shared_profile (TAO_Profile *pfile)
pfile->_decr_refcnt();
return i;
}
- return this->give_profile(pfile,0);
+ return this->give_profile(pfile, 0);
}