diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2010-05-07 09:07:35 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2010-05-07 09:07:35 +0000 |
commit | 877ea6be50f196ce6f25e555388b7c6b463f075a (patch) | |
tree | 9bf2907bb2311ae93540663ced6419cf63a8440a /ACE/examples/Timer_Queue | |
parent | 68366f774128538b758b07b4c54d24e38c4d0540 (diff) | |
download | ATCD-877ea6be50f196ce6f25e555388b7c6b463f075a.tar.gz |
Fri May 7 09:07:51 UTC 2010 Johnny Willemsen <jwillemsen@remedy.nl>
* examples/Timer_Queue/Custom_Handler.h:
* examples/Timer_Queue/Custom_Handler.cpp:
Fixed gcc warnings
Diffstat (limited to 'ACE/examples/Timer_Queue')
-rw-r--r-- | ACE/examples/Timer_Queue/Custom_Handler.cpp | 14 | ||||
-rw-r--r-- | ACE/examples/Timer_Queue/Custom_Handler.h | 2 |
2 files changed, 8 insertions, 8 deletions
diff --git a/ACE/examples/Timer_Queue/Custom_Handler.cpp b/ACE/examples/Timer_Queue/Custom_Handler.cpp index 003c38ccb61..6b518a6a936 100644 --- a/ACE/examples/Timer_Queue/Custom_Handler.cpp +++ b/ACE/examples/Timer_Queue/Custom_Handler.cpp @@ -60,21 +60,21 @@ Custom_Handler::on_timeout (const ACE_Time_Value ¤t_time, return 0; } -int Custom_Handler_Upcall::registration(TTimerQueue& timer_queue, Custom_Handler* handler, const void* arg) +int Custom_Handler_Upcall::registration(TTimerQueue& , Custom_Handler* , const void* ) { ACE_TRACE(ACE_TEXT ("registration")); return 0; } -int Custom_Handler_Upcall::preinvoke(TTimerQueue& timer_queue, Custom_Handler* handler, const void* arg, int recurring_timer, const ACE_Time_Value& cur_time, const void*& upcall_act) +int Custom_Handler_Upcall::preinvoke(TTimerQueue& , Custom_Handler* , const void* , int , const ACE_Time_Value& , const void*& ) { ACE_TRACE(ACE_TEXT ("preinvoke")); return 0; } -int Custom_Handler_Upcall::timeout(TTimerQueue& timer_queue, Custom_Handler* handler, const void* arg, int recurring_timer, const ACE_Time_Value& cur_time) +int Custom_Handler_Upcall::timeout(TTimerQueue& , Custom_Handler* handler, const void* arg, int , const ACE_Time_Value& cur_time) { ACE_TRACE(ACE_TEXT ("timeout")); @@ -84,28 +84,28 @@ int Custom_Handler_Upcall::timeout(TTimerQueue& timer_queue, Custom_Handler* han return 0; } -int Custom_Handler_Upcall::postinvoke(TTimerQueue& timer_queue, Custom_Handler* handler, const void* arg, int recurring_timer, const ACE_Time_Value& cur_time, const void* upcall_act) +int Custom_Handler_Upcall::postinvoke(TTimerQueue& , Custom_Handler* , const void* , int , const ACE_Time_Value& , const void* ) { ACE_TRACE(ACE_TEXT ("postinvoke")); return 0; } -int Custom_Handler_Upcall::cancel_type(TTimerQueue& timer_queue, Custom_Handler* handler, int dont_call, int& requires_reference_counting) +int Custom_Handler_Upcall::cancel_type(TTimerQueue& , Custom_Handler* , int , int& ) { ACE_TRACE(ACE_TEXT ("cancel_type")); return 0; } -int Custom_Handler_Upcall::cancel_timer(TTimerQueue& timer_queue, Custom_Handler* handler, int dont_call, int requires_reference_counting) +int Custom_Handler_Upcall::cancel_timer(TTimerQueue& , Custom_Handler* handler, int , int ) { ACE_TRACE(ACE_TEXT ("cancel_timer")); delete handler; return 0; } -int Custom_Handler_Upcall::deletion(TTimerQueue& timer_queue, Custom_Handler* handler, const void* arg) +int Custom_Handler_Upcall::deletion(TTimerQueue& , Custom_Handler* handler, const void* ) { ACE_TRACE(ACE_TEXT ("deletion")); delete handler; diff --git a/ACE/examples/Timer_Queue/Custom_Handler.h b/ACE/examples/Timer_Queue/Custom_Handler.h index 07948f09419..152fdc20fe5 100644 --- a/ACE/examples/Timer_Queue/Custom_Handler.h +++ b/ACE/examples/Timer_Queue/Custom_Handler.h @@ -40,7 +40,7 @@ class Custom_Handler Custom_Handler (const ACE_Time_Value &expiration_time); - ~Custom_Handler (void); + virtual ~Custom_Handler (void); // Set the custom handler's id void set_id (int id); |