*Massive cleanup (\n\n -> \n, *\n -> \n, cleanup for(...) to for (...), and some other cleanups by hand)

*Fix a possible crash in Spell::DoAllEffectOnTarget

--HG--
branch : trunk
This commit is contained in:
maximius
2009-10-17 15:35:07 -07:00
parent f21f47005d
commit 26b5e033ff
2257 changed files with 750 additions and 103852 deletions
-15
View File
@@ -1,9 +1,7 @@
// -*- C++ -*-
//
// $Id: Pair_T.inl 80826 2008-03-04 14:51:23Z wotte $
ACE_BEGIN_VERSIONED_NAMESPACE_DECL
template <class T1, class T2> ACE_INLINE
ACE_Pair<T1, T2>::ACE_Pair (const T1 &t1,
const T2 &t2)
@@ -11,55 +9,46 @@ ACE_Pair<T1, T2>::ACE_Pair (const T1 &t1,
second_ (t2)
{
}
template <class T1, class T2> ACE_INLINE
ACE_Pair<T1, T2>::ACE_Pair (void)
{
}
template <class T1, class T2> ACE_INLINE T1 &
ACE_Pair<T1, T2>::first (void)
{
return this->first_;
}
template <class T1, class T2> ACE_INLINE const T1 &
ACE_Pair<T1, T2>::first (void) const
{
return this->first_;
}
template <class T1, class T2> ACE_INLINE void
ACE_Pair<T1, T2>::first (const T1 &t1)
{
this->first_ = t1;
}
template <class T1, class T2> ACE_INLINE T2 &
ACE_Pair<T1, T2>::second (void)
{
return this->second_;
}
template <class T1, class T2> ACE_INLINE const T2 &
ACE_Pair<T1, T2>::second (void) const
{
return this->second_;
}
template <class T1, class T2> ACE_INLINE void
ACE_Pair<T1, T2>::second (const T2 &t2)
{
this->second_ = t2;
}
template <class T1, class T2> ACE_INLINE bool
ACE_Pair<T1, T2>::operator== (const ACE_Pair<T1, T2> &rhs) const
{
return (this->first_ == rhs.first_ &&
this->second_ == rhs.second_);
}
template <class T1, class T2> ACE_INLINE
ACE_Reference_Pair<T1, T2>::ACE_Reference_Pair (T1 &t1,
T2 &t2)
@@ -67,24 +56,20 @@ ACE_Reference_Pair<T1, T2>::ACE_Reference_Pair (T1 &t1,
second_ (t2)
{
}
template <class T1, class T2> ACE_INLINE T1 &
ACE_Reference_Pair<T1, T2>::first (void) const
{
return this->first_;
}
template <class T1, class T2> ACE_INLINE T2 &
ACE_Reference_Pair<T1, T2>::second (void) const
{
return this->second_;
}
template <class T1, class T2> ACE_INLINE bool
ACE_Reference_Pair<T1, T2>::operator== (const ACE_Reference_Pair<T1, T2> &rhs) const
{
return (this->first_ == rhs.first_ &&
this->second_ == rhs.second_);
}
ACE_END_VERSIONED_NAMESPACE_DECL