openbsd-ports/palm/pose/patches/patch-SrcShared_EmStream_h
2010-08-03 20:01:40 +00:00

85 lines
2.7 KiB
Plaintext

$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<T>::iterator iter = container.begin ();
+ typename deque<T>::iterator iter = container.begin ();
while (iter != container.end ())
{
*this >> *iter;
@@ -108,7 +108,7 @@ class EmStream
container.resize (numElements);
- list<T>::iterator iter = container.begin ();
+ typename list<T>::iterator iter = container.begin ();
while (iter != container.end ())
{
*this >> *iter;
@@ -126,7 +126,7 @@ class EmStream
container.resize (numElements);
- vector<T>::iterator iter = container.begin ();
+ typename vector<T>::iterator iter = container.begin ();
while (iter != container.end ())
{
*this >> *iter;
@@ -143,7 +143,7 @@ class EmStream
*this << numElements;
- deque<T>::const_iterator iter = container.begin ();
+ typename deque<T>::const_iterator iter = container.begin ();
while (iter != container.end ())
{
*this << *iter;
@@ -160,7 +160,7 @@ class EmStream
*this << numElements;
- list<T>::const_iterator iter = container.begin ();
+ typename list<T>::const_iterator iter = container.begin ();
while (iter != container.end ())
{
*this << *iter;
@@ -177,7 +177,7 @@ class EmStream
*this << numElements;
- vector<T>::const_iterator iter = container.begin ();
+ typename vector<T>::const_iterator iter = container.begin ();
while (iter != container.end ())
{
*this << *iter;
@@ -321,7 +321,7 @@ EmStream& EmStream::operator<T> << (const deque<T>& co
*this << numElements;
- const deque<T>::const_iterator iter = container.begin ();
+ typename const deque<T>::const_iterator iter = container.begin ();
while (iter != container.end ())
{
*this << *iter;
@@ -338,7 +338,7 @@ EmStream& EmStream::operator<T> << (const list<T>& con
*this << numElements;
- const list<T>::const_iterator iter = container.begin ();
+ typename const list<T>::const_iterator iter = container.begin ();
while (iter != container.end ())
{
*this << *iter;
@@ -355,7 +355,7 @@ EmStream& EmStream::operator<T> << (const vector<T>& c
*this << numElements;
- const vector<T>::const_iterator iter = container.begin ();
+ typename const vector<T>::const_iterator iter = container.begin ();
while (iter != container.end ())
{
*this << *iter;