attempting to fix build bustage on Solaris

This commit is contained in:
scc%mozilla.org 2001-02-24 04:49:34 +00:00
Родитель c637de1de1
Коммит 50757922b4
2 изменённых файлов: 52 добавлений и 52 удалений

Просмотреть файл

@ -730,14 +730,6 @@ basic_nsAReadableString<CharT>::FindChar( CharT aChar, PRUint32 aOffset ) const
return -1; return -1;
} }
template <class CharT>
inline
int
basic_nsAReadableString<CharT>::Compare( const basic_nsAReadableString<CharT>& rhs ) const
{
return ::Compare(*this, rhs);
}
@ -844,16 +836,6 @@ basic_nsLiteralString<CharT>::Length() const
} }
// XXX Note that these are located here because some compilers are
// sensitive to the ordering of declarations with regard to templates.
template <class CharT>
inline
PRBool
basic_nsAReadableString<CharT>::Equals( const CharT* rhs ) const
{
return Compare(basic_nsLiteralString<CharT>(rhs)) == 0;
}
#if 0 #if 0
template <class CharT> template <class CharT>
inline inline
@ -864,14 +846,6 @@ basic_nsAReadableString<CharT>::Equals( const CharT* rhs, PRUint32 rhs_length )
} }
#endif #endif
template <class CharT>
inline
int
basic_nsAReadableString<CharT>::Compare( const CharT* rhs ) const
{
return ::Compare(*this, NS_READABLE_CAST(CharT, basic_nsLiteralString<CharT>(rhs)));
}
#if 0 #if 0
template <class CharT> template <class CharT>
inline inline
@ -1372,6 +1346,32 @@ Compare( const CharT* lhs, const basic_nsAReadableString<CharT>& rhs )
return Compare(NS_READABLE_CAST(CharT, basic_nsLiteralString<CharT>(lhs)), rhs); return Compare(NS_READABLE_CAST(CharT, basic_nsLiteralString<CharT>(lhs)), rhs);
} }
// XXX Note that these are located here because some compilers are
// sensitive to the ordering of declarations with regard to templates.
template <class CharT>
inline
int
basic_nsAReadableString<CharT>::Compare( const basic_nsAReadableString<CharT>& rhs ) const
{
return ::Compare(*this, rhs);
}
template <class CharT>
inline
PRBool
basic_nsAReadableString<CharT>::Equals( const CharT* rhs ) const
{
return Compare(basic_nsLiteralString<CharT>(rhs)) == 0;
}
template <class CharT>
inline
int
basic_nsAReadableString<CharT>::Compare( const CharT* rhs ) const
{
return ::Compare(*this, NS_READABLE_CAST(CharT, basic_nsLiteralString<CharT>(rhs)));
}
/* /*

Просмотреть файл

@ -730,14 +730,6 @@ basic_nsAReadableString<CharT>::FindChar( CharT aChar, PRUint32 aOffset ) const
return -1; return -1;
} }
template <class CharT>
inline
int
basic_nsAReadableString<CharT>::Compare( const basic_nsAReadableString<CharT>& rhs ) const
{
return ::Compare(*this, rhs);
}
@ -844,16 +836,6 @@ basic_nsLiteralString<CharT>::Length() const
} }
// XXX Note that these are located here because some compilers are
// sensitive to the ordering of declarations with regard to templates.
template <class CharT>
inline
PRBool
basic_nsAReadableString<CharT>::Equals( const CharT* rhs ) const
{
return Compare(basic_nsLiteralString<CharT>(rhs)) == 0;
}
#if 0 #if 0
template <class CharT> template <class CharT>
inline inline
@ -864,14 +846,6 @@ basic_nsAReadableString<CharT>::Equals( const CharT* rhs, PRUint32 rhs_length )
} }
#endif #endif
template <class CharT>
inline
int
basic_nsAReadableString<CharT>::Compare( const CharT* rhs ) const
{
return ::Compare(*this, NS_READABLE_CAST(CharT, basic_nsLiteralString<CharT>(rhs)));
}
#if 0 #if 0
template <class CharT> template <class CharT>
inline inline
@ -1372,6 +1346,32 @@ Compare( const CharT* lhs, const basic_nsAReadableString<CharT>& rhs )
return Compare(NS_READABLE_CAST(CharT, basic_nsLiteralString<CharT>(lhs)), rhs); return Compare(NS_READABLE_CAST(CharT, basic_nsLiteralString<CharT>(lhs)), rhs);
} }
// XXX Note that these are located here because some compilers are
// sensitive to the ordering of declarations with regard to templates.
template <class CharT>
inline
int
basic_nsAReadableString<CharT>::Compare( const basic_nsAReadableString<CharT>& rhs ) const
{
return ::Compare(*this, rhs);
}
template <class CharT>
inline
PRBool
basic_nsAReadableString<CharT>::Equals( const CharT* rhs ) const
{
return Compare(basic_nsLiteralString<CharT>(rhs)) == 0;
}
template <class CharT>
inline
int
basic_nsAReadableString<CharT>::Compare( const CharT* rhs ) const
{
return ::Compare(*this, NS_READABLE_CAST(CharT, basic_nsLiteralString<CharT>(rhs)));
}
/* /*