From e2fb931d4056ac6a25aa30f3f9784ea5087ebad0 Mon Sep 17 00:00:00 2001 From: Ossama Othman Date: Wed, 21 Feb 2007 22:29:49 +0000 Subject: ChangeLogTag:Wed Feb 21 19:27:14 UTC 2007 Ossama Othman --- ACE/ace/Caching_Strategies_T.inl | 47 ++++++++++++++++------------------------ 1 file changed, 19 insertions(+), 28 deletions(-) (limited to 'ACE/ace/Caching_Strategies_T.inl') diff --git a/ACE/ace/Caching_Strategies_T.inl b/ACE/ace/Caching_Strategies_T.inl index cbe5f9c35ff..d846b66b13a 100644 --- a/ACE/ace/Caching_Strategies_T.inl +++ b/ACE/ace/Caching_Strategies_T.inl @@ -135,11 +135,10 @@ ACE_LRU_Caching_Strategy::purge_percent (double per } template ACE_INLINE int -ACE_LRU_Caching_Strategy::notify_bind (int result, - const ATTRIBUTES &attr) +ACE_LRU_Caching_Strategy::notify_bind ( + int result, + const ATTRIBUTES & /* attr */) { - ACE_UNUSED_ARG (attr); - if (result == 0) ++this->timer_; @@ -147,8 +146,9 @@ ACE_LRU_Caching_Strategy::notify_bind (int result, } template ACE_INLINE int -ACE_LRU_Caching_Strategy::notify_find (int result, - ATTRIBUTES &attr) +ACE_LRU_Caching_Strategy::notify_find ( + int result, + ATTRIBUTES &attr) { if (result == 0) { @@ -160,28 +160,26 @@ ACE_LRU_Caching_Strategy::notify_find (int result, } template ACE_INLINE int -ACE_LRU_Caching_Strategy::notify_unbind (int result, - const ATTRIBUTES &attr) +ACE_LRU_Caching_Strategy::notify_unbind ( + int result, + const ATTRIBUTES & /* attr */) { - ACE_UNUSED_ARG (attr); return result; } template ACE_INLINE int -ACE_LRU_Caching_Strategy::notify_trybind (int result, - ATTRIBUTES &attr) +ACE_LRU_Caching_Strategy::notify_trybind ( + int result, + ATTRIBUTES & /* attr */) { - ACE_UNUSED_ARG (attr); - return result; } template ACE_INLINE int -ACE_LRU_Caching_Strategy::notify_rebind (int result, - const ATTRIBUTES &attr) +ACE_LRU_Caching_Strategy::notify_rebind ( + int result, + const ATTRIBUTES & /* attr */) { - ACE_UNUSED_ARG (attr); - if (result == 0) ++this->timer_; @@ -228,9 +226,8 @@ ACE_LFU_Caching_Strategy::purge_percent (double per template ACE_INLINE int ACE_LFU_Caching_Strategy::notify_bind (int result, - const ATTRIBUTES &attr) + const ATTRIBUTES & /* attr */) { - ACE_UNUSED_ARG (attr); return result; } @@ -247,28 +244,22 @@ ACE_LFU_Caching_Strategy::notify_find (int result, template ACE_INLINE int ACE_LFU_Caching_Strategy::notify_trybind (int result, - ATTRIBUTES &attr) + ATTRIBUTES & /* attr */) { - ACE_UNUSED_ARG (attr); - return result; } template ACE_INLINE int ACE_LFU_Caching_Strategy::notify_rebind (int result, - const ATTRIBUTES &attr) + const ATTRIBUTES & /* attr */) { - ACE_UNUSED_ARG (attr); - return result; } template ACE_INLINE int ACE_LFU_Caching_Strategy::notify_unbind (int result, - const ATTRIBUTES &attr) + const ATTRIBUTES & /* attr */) { - ACE_UNUSED_ARG (attr); - return result; } -- cgit v1.2.1