$OpenBSD: patch-SrcShared_EmStream_h,v 1.1 2010/08/03 20:01:40 naddy Exp $ --- SrcShared/EmStream.h.orig Tue Aug 3 13:35:49 2010 +++ SrcShared/EmStream.h Tue Aug 3 13:39:15 2010 @@ -90,7 +90,7 @@ class EmStream container.resize (numElements); - deque::iterator iter = container.begin (); + typename deque::iterator iter = container.begin (); while (iter != container.end ()) { *this >> *iter; @@ -108,7 +108,7 @@ class EmStream container.resize (numElements); - list::iterator iter = container.begin (); + typename list::iterator iter = container.begin (); while (iter != container.end ()) { *this >> *iter; @@ -126,7 +126,7 @@ class EmStream container.resize (numElements); - vector::iterator iter = container.begin (); + typename vector::iterator iter = container.begin (); while (iter != container.end ()) { *this >> *iter; @@ -143,7 +143,7 @@ class EmStream *this << numElements; - deque::const_iterator iter = container.begin (); + typename deque::const_iterator iter = container.begin (); while (iter != container.end ()) { *this << *iter; @@ -160,7 +160,7 @@ class EmStream *this << numElements; - list::const_iterator iter = container.begin (); + typename list::const_iterator iter = container.begin (); while (iter != container.end ()) { *this << *iter; @@ -177,7 +177,7 @@ class EmStream *this << numElements; - vector::const_iterator iter = container.begin (); + typename vector::const_iterator iter = container.begin (); while (iter != container.end ()) { *this << *iter; @@ -321,7 +321,7 @@ EmStream& EmStream::operator << (const deque& co *this << numElements; - const deque::const_iterator iter = container.begin (); + typename const deque::const_iterator iter = container.begin (); while (iter != container.end ()) { *this << *iter; @@ -338,7 +338,7 @@ EmStream& EmStream::operator << (const list& con *this << numElements; - const list::const_iterator iter = container.begin (); + typename const list::const_iterator iter = container.begin (); while (iter != container.end ()) { *this << *iter; @@ -355,7 +355,7 @@ EmStream& EmStream::operator << (const vector& c *this << numElements; - const vector::const_iterator iter = container.begin (); + typename const vector::const_iterator iter = container.begin (); while (iter != container.end ()) { *this << *iter;