diff options
Diffstat (limited to 'ace/Auto_IncDec_T.i')
-rw-r--r-- | ace/Auto_IncDec_T.i | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/ace/Auto_IncDec_T.i b/ace/Auto_IncDec_T.i deleted file mode 100644 index 96658ed76c5..00000000000 --- a/ace/Auto_IncDec_T.i +++ /dev/null @@ -1,21 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -// Implicitly and automatically increment the counter. - -template <class ACE_SAFELY_INCREMENTABLE_DECREMENTABLE> ACE_INLINE -ACE_Auto_IncDec<ACE_SAFELY_INCREMENTABLE_DECREMENTABLE>::ACE_Auto_IncDec - (ACE_SAFELY_INCREMENTABLE_DECREMENTABLE &counter) - : counter_ (counter) -{ - ++this->counter_; -} - -// Implicitly and automatically decrement the counter. - -template <class ACE_SAFELY_INCREMENTABLE_DECREMENTABLE> ACE_INLINE -ACE_Auto_IncDec<ACE_SAFELY_INCREMENTABLE_DECREMENTABLE>::~ACE_Auto_IncDec (void) -{ - --this->counter_; -} - |