From 737b1b7d4eaf35b90f08f06243a378fa28bc174b Mon Sep 17 00:00:00 2001 From: "pavlov%netscape.com" Date: Sun, 23 Apr 2000 05:54:36 +0000 Subject: [PATCH] add typename to make linux compiler happy r=scc git-svn-id: svn://10.0.0.236/trunk@66910 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/string/public/nsCharTraits.h | 4 ++-- mozilla/xpcom/ds/nsCharTraits.h | 4 ++-- mozilla/xpcom/string/public/nsCharTraits.h | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/mozilla/string/public/nsCharTraits.h b/mozilla/string/public/nsCharTraits.h index a9d2d126eb1..e52103dbbf1 100644 --- a/mozilla/string/public/nsCharTraits.h +++ b/mozilla/string/public/nsCharTraits.h @@ -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); } diff --git a/mozilla/xpcom/ds/nsCharTraits.h b/mozilla/xpcom/ds/nsCharTraits.h index a9d2d126eb1..e52103dbbf1 100644 --- a/mozilla/xpcom/ds/nsCharTraits.h +++ b/mozilla/xpcom/ds/nsCharTraits.h @@ -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); } diff --git a/mozilla/xpcom/string/public/nsCharTraits.h b/mozilla/xpcom/string/public/nsCharTraits.h index a9d2d126eb1..e52103dbbf1 100644 --- a/mozilla/xpcom/string/public/nsCharTraits.h +++ b/mozilla/xpcom/string/public/nsCharTraits.h @@ -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); }