Fix signature of standalone embedstring version of |Distance|.

Bug #198276 r=jag sr=dbaron
This commit is contained in:
seawood%netscape.com 2003-03-25 06:46:49 +00:00
Родитель b0211b3b2d
Коммит b92a5778a0
2 изменённых файлов: 4 добавлений и 4 удалений

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

@ -490,13 +490,13 @@ Distance_Impl( const nsReadingIterator<CharT>& aStart,
} }
NS_COM NS_COM
size_t Distance( const nsAString::const_iterator& aStart, const nsAString::const_iterator& aEnd ) size_t Distance( const nsReadingIterator<PRUnichar>& aStart, const nsReadingIterator<PRUnichar>& aEnd )
{ {
return Distance_Impl(aStart, aEnd); return Distance_Impl(aStart, aEnd);
} }
NS_COM NS_COM
size_t Distance( const nsACString::const_iterator& aStart, const nsACString::const_iterator& aEnd ) size_t Distance( const nsReadingIterator<char>& aStart, const nsReadingIterator<char>& aEnd )
{ {
return Distance_Impl(aStart, aEnd); return Distance_Impl(aStart, aEnd);
} }

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

@ -490,13 +490,13 @@ Distance_Impl( const nsReadingIterator<CharT>& aStart,
} }
NS_COM NS_COM
size_t Distance( const nsAString::const_iterator& aStart, const nsAString::const_iterator& aEnd ) size_t Distance( const nsReadingIterator<PRUnichar>& aStart, const nsReadingIterator<PRUnichar>& aEnd )
{ {
return Distance_Impl(aStart, aEnd); return Distance_Impl(aStart, aEnd);
} }
NS_COM NS_COM
size_t Distance( const nsACString::const_iterator& aStart, const nsACString::const_iterator& aEnd ) size_t Distance( const nsReadingIterator<char>& aStart, const nsReadingIterator<char>& aEnd )
{ {
return Distance_Impl(aStart, aEnd); return Distance_Impl(aStart, aEnd);
} }