add typename to make linux compiler happy r=scc

git-svn-id: svn://10.0.0.236/trunk@66910 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
pavlov%netscape.com
2000-04-23 05:54:36 +00:00
parent c6bf74a308
commit 737b1b7d4e
3 changed files with 6 additions and 6 deletions

View File

@@ -480,7 +480,7 @@ struct nsCharSourceTraits
}
static
const InputIterator::value_type*
const typename InputIterator::value_type*
read( const InputIterator& iter )
{
return iter.operator->();
@@ -520,7 +520,7 @@ struct nsCharSinkTraits
{
static
PRUint32
write( OutputIterator& iter, const OutputIterator::value_type* s, PRUint32 n )
write( OutputIterator& iter, const typename OutputIterator::value_type* s, PRUint32 n )
{
return iter.write(s, n);
}

View File

@@ -480,7 +480,7 @@ struct nsCharSourceTraits
}
static
const InputIterator::value_type*
const typename InputIterator::value_type*
read( const InputIterator& iter )
{
return iter.operator->();
@@ -520,7 +520,7 @@ struct nsCharSinkTraits
{
static
PRUint32
write( OutputIterator& iter, const OutputIterator::value_type* s, PRUint32 n )
write( OutputIterator& iter, const typename OutputIterator::value_type* s, PRUint32 n )
{
return iter.write(s, n);
}

View File

@@ -480,7 +480,7 @@ struct nsCharSourceTraits
}
static
const InputIterator::value_type*
const typename InputIterator::value_type*
read( const InputIterator& iter )
{
return iter.operator->();
@@ -520,7 +520,7 @@ struct nsCharSinkTraits
{
static
PRUint32
write( OutputIterator& iter, const OutputIterator::value_type* s, PRUint32 n )
write( OutputIterator& iter, const typename OutputIterator::value_type* s, PRUint32 n )
{
return iter.write(s, n);
}