1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/net/netmap/files/patch-belgolib::dirs.h
Alexey Dokuchaev 1f16f5e923 Fix bad C++ code, to unbreak on 5.X and -CURRENT.
Reported by:	kris
Approved by:	portmgr (marcus), fjoe (mentor, implicit)
2004-09-20 19:34:58 +00:00

20 lines
496 B
C++

--- belgolib/dirs.h.orig Sun Dec 15 14:54:27 2002
+++ belgolib/dirs.h Sun Dec 15 14:54:27 2002
@@ -3,6 +3,7 @@
// - Consider using vector instead of list<T*>'s
#include <list>
+using namespace std;
#ifndef __make_dep__
#include <string>
@@ -91,7 +92,7 @@
{
list<T*> result=ld1;
- for(list<T*>::const_iterator i = ld2.begin(); i != ld2.end(); i++)
+ for(typename list<T*>::const_iterator i = ld2.begin(); i != ld2.end(); i++)
result.push_back(*i);
return result;