diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2020-08-26 15:54:32 +0200 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2020-08-26 15:54:32 +0200 |
commit | 6fdc79c928bc388be70ccf9f1e371648cdf70ef3 (patch) | |
tree | 3211d05591c38ba840d585b798359d7b342fda1d | |
parent | 3f027144ea3b868d7dbf75231b993c410a2156fb (diff) | |
download | ATCD-6fdc79c928bc388be70ccf9f1e371648cdf70ef3.tar.gz |
Layout changes
* ACE/ace/Intrusive_Auto_Ptr.inl:
-rw-r--r-- | ACE/ace/Intrusive_Auto_Ptr.inl | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/ACE/ace/Intrusive_Auto_Ptr.inl b/ACE/ace/Intrusive_Auto_Ptr.inl index 7d353e316c9..a37f2f3b25b 100644 --- a/ACE/ace/Intrusive_Auto_Ptr.inl +++ b/ACE/ace/Intrusive_Auto_Ptr.inl @@ -114,31 +114,30 @@ template<class T, class U> ACE_INLINE bool operator==(ACE_Intrusive_Auto_Ptr<T> return a.get() == b.get(); } - /// Inequality operator, which is the opposite of equality. - template<class T, class U> ACE_INLINE bool operator!=(ACE_Intrusive_Auto_Ptr<T> const & a, ACE_Intrusive_Auto_Ptr<U> const & b) +/// Inequality operator, which is the opposite of equality. +template<class T, class U> ACE_INLINE bool operator!=(ACE_Intrusive_Auto_Ptr<T> const & a, ACE_Intrusive_Auto_Ptr<U> const & b) { return a.get() != b.get(); } - template<class T, class U> ACE_INLINE bool operator==(ACE_Intrusive_Auto_Ptr<T> const & a, U * b) +template<class T, class U> ACE_INLINE bool operator==(ACE_Intrusive_Auto_Ptr<T> const & a, U * b) { return a.get() == b; } - template<class T, class U> ACE_INLINE bool operator!=(ACE_Intrusive_Auto_Ptr<T> & a, U * b) +template<class T, class U> ACE_INLINE bool operator!=(ACE_Intrusive_Auto_Ptr<T> & a, U * b) { return a.get() != b; } - template<class T, class U> ACE_INLINE bool operator==(T * a, ACE_Intrusive_Auto_Ptr<U> const & b) +template<class T, class U> ACE_INLINE bool operator==(T * a, ACE_Intrusive_Auto_Ptr<U> const & b) { return a == b.get(); } - template<class T, class U> ACE_INLINE bool operator!=(T * a, ACE_Intrusive_Auto_Ptr<U> const & b) +template<class T, class U> ACE_INLINE bool operator!=(T * a, ACE_Intrusive_Auto_Ptr<U> const & b) { return a != b.get(); } - ACE_END_VERSIONED_NAMESPACE_DECL |