aboutsummaryrefslogtreecommitdiff
path: root/dep/acelite/ace/Map_T.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dep/acelite/ace/Map_T.cpp')
-rw-r--r--dep/acelite/ace/Map_T.cpp46
1 files changed, 23 insertions, 23 deletions
diff --git a/dep/acelite/ace/Map_T.cpp b/dep/acelite/ace/Map_T.cpp
index ef3184c5c2e..ff22dfa74f3 100644
--- a/dep/acelite/ace/Map_T.cpp
+++ b/dep/acelite/ace/Map_T.cpp
@@ -1,4 +1,4 @@
-// $Id: Map_T.cpp 80826 2008-03-04 14:51:23Z wotte $
+// $Id: Map_T.cpp 92097 2010-09-30 05:41:49Z msmit $
#ifndef ACE_MAP_T_CPP
#define ACE_MAP_T_CPP
@@ -340,8 +340,8 @@ ACE_Active_Map_Manager_Iterator_Adapter<T, VALUE>::dereference () const
{
// The following syntax is necessary to work around certain broken compilers.
// In particular, please do not prefix implementation_ with this->
- return T ((*implementation_).int_id_.first (),
- (*implementation_).int_id_.second ());
+ return T ((*implementation_).int_id_.first,
+ (*implementation_).int_id_.second);
}
template <class T, class VALUE> void
@@ -386,8 +386,8 @@ ACE_Active_Map_Manager_Reverse_Iterator_Adapter<T, VALUE>::dereference () const
{
// The following syntax is necessary to work around certain broken compilers.
// In particular, please do not prefix implementation_ with this->
- return T ((*implementation_).int_id_.first (),
- (*implementation_).int_id_.second ());
+ return T ((*implementation_).int_id_.first,
+ (*implementation_).int_id_.second);
}
template <class T, class VALUE> void
@@ -443,13 +443,13 @@ ACE_Active_Map_Manager_Adapter<KEY, VALUE, KEY_ADAPTER>::bind_modify_key (const
// of <expanded_value>.
result = this->key_adapter_.encode (key,
active_key,
- internal_value->first ());
+ internal_value->first);
if (result == 0)
{
// Copy user value into <expanded_value>.
- internal_value->second (value);
+ internal_value->second = value;
// Copy new, modified key back to the user key.
- key = internal_value->first ();
+ key = internal_value->first;
}
else
{
@@ -479,15 +479,15 @@ ACE_Active_Map_Manager_Adapter<KEY, VALUE, KEY_ADAPTER>::bind_create_key (const
if (result == 0)
{
// Encode the active key into key part of <expanded_value>.
- result = this->key_adapter_.encode (internal_value->first (),
+ result = this->key_adapter_.encode (internal_value->first,
active_key,
- internal_value->first ());
+ internal_value->first);
if (result == 0)
{
// Copy user value into <expanded_value>.
- internal_value->second (value);
+ internal_value->second = value;
// Copy new, modified key to the user key.
- key = internal_value->first ();
+ key = internal_value->first;
}
else
{
@@ -510,13 +510,13 @@ ACE_Active_Map_Manager_Adapter<KEY, VALUE, KEY_ADAPTER>::bind_create_key (const
if (result == 0)
{
// Encode the active key into key part of <expanded_value>.
- result = this->key_adapter_.encode (internal_value->first (),
+ result = this->key_adapter_.encode (internal_value->first,
active_key,
- internal_value->first ());
+ internal_value->first);
if (result == 0)
{
// Copy user value into <expanded_value>.
- internal_value->second (value);
+ internal_value->second = value;
}
else
{
@@ -567,7 +567,7 @@ ACE_Active_Map_Manager_Adapter<KEY, VALUE, KEY_ADAPTER>::find (const KEY &key,
if (result == 0)
{
// Copy value.
- value = internal_value->second ();
+ value = internal_value->second;
}
return result;
@@ -592,7 +592,7 @@ ACE_Active_Map_Manager_Adapter<KEY, VALUE, KEY_ADAPTER>::rebind (const KEY &key,
if (result == 0)
{
// Reset value.
- internal_value->second (value);
+ internal_value->second = value;
}
return result;
@@ -610,10 +610,10 @@ ACE_Active_Map_Manager_Adapter<KEY, VALUE, KEY_ADAPTER>::rebind (const KEY &key,
if (result == 0)
{
// Copy old value.
- old_value = internal_value->second ();
+ old_value = internal_value->second;
// Reset to new value.
- internal_value->second (value);
+ internal_value->second = value;
}
return result;
@@ -632,11 +632,11 @@ ACE_Active_Map_Manager_Adapter<KEY, VALUE, KEY_ADAPTER>::rebind (const KEY &key,
if (result == 0)
{
// Copy old key and value.
- old_key = internal_value->first ();
- old_value = internal_value->second ();
+ old_key = internal_value->first;
+ old_value = internal_value->second;
// Reset to new value.
- internal_value->second (value);
+ internal_value->second = value;
}
return result;
@@ -686,7 +686,7 @@ ACE_Active_Map_Manager_Adapter<KEY, VALUE, KEY_ADAPTER>::unbind (const KEY &key,
if (result == 0)
{
// Copy value.
- value = internal_value->second ();
+ value = internal_value->second;
}
return result;