diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2007-02-12 15:42:39 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2007-02-12 15:42:39 +0000 |
commit | 84afa1a7c8a091ae1b4c1d4672f1bf75d81df431 (patch) | |
tree | 4f29eda93f33a87502aa190dcb346e7ea650d468 /TAO/tao/Utils | |
parent | 6a6fcb904814bc3bdb2253d4179e3c69d7d56da2 (diff) | |
download | ATCD-84afa1a7c8a091ae1b4c1d4672f1bf75d81df431.tar.gz |
Diffstat (limited to 'TAO/tao/Utils')
-rw-r--r-- | TAO/tao/Utils/Servant_Var.h | 2 | ||||
-rw-r--r-- | TAO/tao/Utils/Servant_Var.inl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/TAO/tao/Utils/Servant_Var.h b/TAO/tao/Utils/Servant_Var.h index 1492c97b2c8..d2bf8f47159 100644 --- a/TAO/tao/Utils/Servant_Var.h +++ b/TAO/tao/Utils/Servant_Var.h @@ -135,7 +135,7 @@ namespace TAO /** * Often used to implement strong exception safety. */ - void swap(Servant_Var<T> & rhs); + void swap(Servant_Var<T> & rhs) throw (); private: T * ptr_; diff --git a/TAO/tao/Utils/Servant_Var.inl b/TAO/tao/Utils/Servant_Var.inl index 03b3f8c2e2a..1c893c88ede 100644 --- a/TAO/tao/Utils/Servant_Var.inl +++ b/TAO/tao/Utils/Servant_Var.inl @@ -28,7 +28,7 @@ TAO::Utils::Servant_Var<T>::_duplicate (T * p) template <class T> ACE_INLINE void -TAO::Utils::Servant_Var<T>::swap (Servant_Var<T> & rhs) ACE_THROW_SPEC(()) +TAO::Utils::Servant_Var<T>::swap (Servant_Var<T> & rhs) throw () { ACE_Swap<T*>::swap (this->ptr_, rhs.ptr_); } |