diff options
Diffstat (limited to 'TAO/tao/Transport_Cache_Manager_T.cpp')
-rw-r--r-- | TAO/tao/Transport_Cache_Manager_T.cpp | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/TAO/tao/Transport_Cache_Manager_T.cpp b/TAO/tao/Transport_Cache_Manager_T.cpp index 0dab65921c7..868bd41cd97 100644 --- a/TAO/tao/Transport_Cache_Manager_T.cpp +++ b/TAO/tao/Transport_Cache_Manager_T.cpp @@ -18,7 +18,6 @@ // TAO_debug_level > 6: detailed cache operations (LM_DEBUG) // TAO_debug_level > 8: for debugging the cache itself (LM_DEBUG) - TAO_BEGIN_VERSIONED_NAMESPACE_DECL namespace TAO @@ -306,7 +305,7 @@ namespace TAO { TAOLIB_DEBUG ((LM_DEBUG, ACE_TEXT ("TAO (%P|%t) - Transport_Cache_Manager_T::find_i, ") - ACE_TEXT ("Found available Transport[%d] @hash:index {%d:%d}\n"), + ACE_TEXT ("found available Transport[%d] @hash:index {%d:%d}\n"), entry->item ().transport ()->id (), entry->ext_id_.hash (), entry->ext_id_.index () @@ -319,7 +318,7 @@ namespace TAO { TAOLIB_DEBUG ((LM_DEBUG, ACE_TEXT ("TAO (%P|%t) - Transport_Cache_Manager_T::find_i, ") - ACE_TEXT ("Found connecting Transport[%d] @hash:index {%d:%d}\n"), + ACE_TEXT ("found connecting Transport[%d] @hash:index {%d:%d}\n"), entry->item ().transport ()->id (), entry->ext_id_.hash (), entry->ext_id_.index () @@ -345,7 +344,7 @@ namespace TAO { TAOLIB_DEBUG ((LM_DEBUG, ACE_TEXT ("TAO (%P|%t) - Transport_Cache_Manager_T::find_i, ") - ACE_TEXT ("Found busy Transport[%d] @hash:index {%d:%d}\n"), + ACE_TEXT ("found busy Transport[%d] @hash:index {%d:%d}\n"), entry->item ().transport ()->id (), entry->ext_id_.hash (), entry->ext_id_.index () @@ -453,7 +452,7 @@ namespace TAO Transport_Cache_Manager_T<TT, TRDT, PSTRAT>::purge_entry_i (HASH_MAP_ENTRY *entry) { // Remove the entry from the Map - int retval = this->cache_map_.unbind (entry); + int const retval = this->cache_map_.unbind (entry); #if defined (TAO_HAS_MONITOR_POINTS) && (TAO_HAS_MONITOR_POINTS == 1) this->size_monitor_->receive (this->current_size ()); @@ -492,11 +491,11 @@ namespace TAO bool Transport_Cache_Manager_T<TT, TRDT, PSTRAT>::is_entry_purgable_i (HASH_MAP_ENTRY &entry) { - Cache_Entries_State entry_state = entry.int_id_.recycle_state (); + Cache_Entries_State const entry_state = entry.int_id_.recycle_state (); transport_type* transport = entry.int_id_.transport (); - bool result = (entry_state == ENTRY_IDLE_AND_PURGABLE || - entry_state == ENTRY_PURGABLE_BUT_NOT_IDLE) - && transport->can_be_purged (); + bool const result = (entry_state == ENTRY_IDLE_AND_PURGABLE || + entry_state == ENTRY_PURGABLE_BUT_NOT_IDLE) + && transport->can_be_purged (); if (TAO_debug_level > 8) { |