--- geos-3.1.1-orig/source/headers/geos/geomgraph/NodeMap.h	Thu Apr  9 02:00:28 2009
+++ geos-3.1.1/source/headers/geos/geomgraph/NodeMap.h	Tue Dec  8 12:54:06 2009
@@ -88,7 +88,11 @@
 		// Each Coordinate key is a pointer inside the Node value
 		for (iterator it=begin(), itEnd=end(); it != itEnd; ++it)
 		{
+#ifndef _RWSTD_NO_MEMBER_TEMPLATES
 			pair p = *it;
+#else
+			pair p(it->first,it->second);
+#endif
 			geomgraph::Node* n = p.second;
 			geom::Coordinate* c = const_cast<geom::Coordinate*>(
 				&(n->getCoordinate())

