зеркало из https://github.com/mozilla/gecko-dev.git
Fully qualify ReadingIterator when used inside template (so it compiles on egcs-1.1.2). r=scc
This commit is contained in:
Родитель
12219bcb0b
Коммит
79a9a8b12c
|
@ -228,21 +228,21 @@ class basic_nsAWritableString
|
|||
|
||||
public:
|
||||
|
||||
WritingIterator
|
||||
basic_nsAWritableString<CharT>::WritingIterator
|
||||
BeginWriting( PRUint32 aOffset = 0 )
|
||||
{
|
||||
WritableFragment fragment;
|
||||
CharT* startPos = GetWritableFragment(fragment, kFragmentAt, aOffset);
|
||||
return WritingIterator(fragment, startPos, *this);
|
||||
return basic_nsAWritableString<CharT>::WritingIterator(fragment, startPos, *this);
|
||||
}
|
||||
|
||||
|
||||
WritingIterator
|
||||
basic_nsAWritableString<CharT>::WritingIterator
|
||||
EndWriting( PRUint32 aOffset = 0 )
|
||||
{
|
||||
WritableFragment fragment;
|
||||
CharT* startPos = GetWritableFragment(fragment, kFragmentAt, NS_MAX(0U, Length()-aOffset));
|
||||
return WritingIterator(fragment, startPos, *this);
|
||||
return basic_nsAWritableString<CharT>::WritingIterator(fragment, startPos, *this);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -228,21 +228,21 @@ class basic_nsAWritableString
|
|||
|
||||
public:
|
||||
|
||||
WritingIterator
|
||||
basic_nsAWritableString<CharT>::WritingIterator
|
||||
BeginWriting( PRUint32 aOffset = 0 )
|
||||
{
|
||||
WritableFragment fragment;
|
||||
CharT* startPos = GetWritableFragment(fragment, kFragmentAt, aOffset);
|
||||
return WritingIterator(fragment, startPos, *this);
|
||||
return basic_nsAWritableString<CharT>::WritingIterator(fragment, startPos, *this);
|
||||
}
|
||||
|
||||
|
||||
WritingIterator
|
||||
basic_nsAWritableString<CharT>::WritingIterator
|
||||
EndWriting( PRUint32 aOffset = 0 )
|
||||
{
|
||||
WritableFragment fragment;
|
||||
CharT* startPos = GetWritableFragment(fragment, kFragmentAt, NS_MAX(0U, Length()-aOffset));
|
||||
return WritingIterator(fragment, startPos, *this);
|
||||
return basic_nsAWritableString<CharT>::WritingIterator(fragment, startPos, *this);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -228,21 +228,21 @@ class basic_nsAWritableString
|
|||
|
||||
public:
|
||||
|
||||
WritingIterator
|
||||
basic_nsAWritableString<CharT>::WritingIterator
|
||||
BeginWriting( PRUint32 aOffset = 0 )
|
||||
{
|
||||
WritableFragment fragment;
|
||||
CharT* startPos = GetWritableFragment(fragment, kFragmentAt, aOffset);
|
||||
return WritingIterator(fragment, startPos, *this);
|
||||
return basic_nsAWritableString<CharT>::WritingIterator(fragment, startPos, *this);
|
||||
}
|
||||
|
||||
|
||||
WritingIterator
|
||||
basic_nsAWritableString<CharT>::WritingIterator
|
||||
EndWriting( PRUint32 aOffset = 0 )
|
||||
{
|
||||
WritableFragment fragment;
|
||||
CharT* startPos = GetWritableFragment(fragment, kFragmentAt, NS_MAX(0U, Length()-aOffset));
|
||||
return WritingIterator(fragment, startPos, *this);
|
||||
return basic_nsAWritableString<CharT>::WritingIterator(fragment, startPos, *this);
|
||||
}
|
||||
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче