diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2021-03-09 11:49:28 +0100 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2021-03-09 11:49:28 +0100 |
commit | 3a135b20e2c3c3dd407b9b768a411645eca6a7e0 (patch) | |
tree | 71301b1d02a56c2137c4e4c1b378aea4acd139a7 /ACE/ace/Timer_Heap_T.cpp | |
parent | 199259c5d2d5f4a6550382a683f5d54ac482fcd1 (diff) | |
download | ATCD-3a135b20e2c3c3dd407b9b768a411645eca6a7e0.tar.gz |
Various cleanup and use of C++11 features
Diffstat (limited to 'ACE/ace/Timer_Heap_T.cpp')
-rw-r--r-- | ACE/ace/Timer_Heap_T.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/ACE/ace/Timer_Heap_T.cpp b/ACE/ace/Timer_Heap_T.cpp index b29d8bc7b7d..0a1be5f8434 100644 --- a/ACE/ace/Timer_Heap_T.cpp +++ b/ACE/ace/Timer_Heap_T.cpp @@ -39,7 +39,6 @@ ACE_HEAP_LCHILD (size_t X) } // Constructor that takes in an <ACE_Timer_Heap_T> to iterate over. - template <class TYPE, class FUNCTOR, class ACE_LOCK, typename TIME_POLICY> ACE_Timer_Heap_Iterator_T<TYPE, FUNCTOR, ACE_LOCK, TIME_POLICY>::ACE_Timer_Heap_Iterator_T ( Heap & heap) @@ -49,13 +48,7 @@ ACE_Timer_Heap_Iterator_T<TYPE, FUNCTOR, ACE_LOCK, TIME_POLICY>::ACE_Timer_Heap_ this->first (); } -template <class TYPE, class FUNCTOR, class ACE_LOCK, typename TIME_POLICY> -ACE_Timer_Heap_Iterator_T<TYPE, FUNCTOR, ACE_LOCK, TIME_POLICY>::~ACE_Timer_Heap_Iterator_T () -{ -} - // Positions the iterator at the first node in the heap array - template <class TYPE, class FUNCTOR, class ACE_LOCK, typename TIME_POLICY> void ACE_Timer_Heap_Iterator_T<TYPE, FUNCTOR, ACE_LOCK, TIME_POLICY>::first () @@ -64,7 +57,6 @@ ACE_Timer_Heap_Iterator_T<TYPE, FUNCTOR, ACE_LOCK, TIME_POLICY>::first () } // Positions the iterator at the next node in the heap array - template <class TYPE, class FUNCTOR, class ACE_LOCK, typename TIME_POLICY> void ACE_Timer_Heap_Iterator_T<TYPE, FUNCTOR, ACE_LOCK, TIME_POLICY>::next () @@ -74,7 +66,6 @@ ACE_Timer_Heap_Iterator_T<TYPE, FUNCTOR, ACE_LOCK, TIME_POLICY>::next () } // Returns true the <position_> is at the end of the heap array - template <class TYPE, class FUNCTOR, class ACE_LOCK, typename TIME_POLICY> bool ACE_Timer_Heap_Iterator_T<TYPE, FUNCTOR, ACE_LOCK, TIME_POLICY>::isdone () const { @@ -82,7 +73,6 @@ ACE_Timer_Heap_Iterator_T<TYPE, FUNCTOR, ACE_LOCK, TIME_POLICY>::isdone () const } // Returns the node at the current position in the heap or 0 if at the end - template <class TYPE, class FUNCTOR, class ACE_LOCK, typename TIME_POLICY> ACE_Timer_Node_T<TYPE> * ACE_Timer_Heap_Iterator_T<TYPE, FUNCTOR, ACE_LOCK, TIME_POLICY>::item () { |