~sharpie/geos/3.3.2

« back to all changes in this revision

Viewing changes to source/geomgraph/EdgeList.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Fabio Tranchitella
  • Date: 2009-03-27 15:54:54 UTC
  • mfrom: (1.2.1 upstream) (5.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20090327155454-o3u9j86rzrtcp5vl
Tags: 3.1.0-1
* New upstream release.
* This version includes also a missing header inclusion, which caused FTBFS
  on armel. (Closes: #520447)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/**********************************************************************
2
 
 * $Id: EdgeList.cpp 1986 2007-06-08 15:27:42Z mloskot $
 
2
 * $Id: EdgeList.cpp 2220 2008-11-11 17:32:38Z pramsey $
3
3
 *
4
4
 * GEOS - Geometry Engine Open Source
5
5
 * http://geos.refractions.net
128
128
#endif
129
129
}
130
130
 
 
131
void
 
132
EdgeList::clearList()
 
133
{
 
134
        for (unsigned int pos=0; pos < edges.size(); pos++)
 
135
                delete *(&edges[pos]);
 
136
 
 
137
        edges.clear();
 
138
}
 
139
 
131
140
std::ostream&
132
141
operator<< (std::ostream&os, const EdgeList& el)
133
142
{