ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/branches/new_design/OOPSE-3.0/src/utils/MemoryUtils.hpp
(Generate patch)

Comparing branches/new_design/OOPSE-3.0/src/utils/MemoryUtils.hpp (file contents):
Revision 1868 by tim, Tue Nov 2 15:27:01 2004 UTC vs.
Revision 1869 by tim, Wed Dec 8 20:37:47 2004 UTC

# Line 40 | Line 40 | namespace oopse {
40  
41              template<typename ElemType>
42              static void deleteVectorOfPointer(std::vector<ElemType*>& container){
43 <                for (std::vector<ElemType*>::iterator i = container.begin(); i != container.end(); i++) {
43 >                for (typename std::vector<ElemType*>::iterator i = container.begin(); i != container.end(); i++) {
44                      delete *i;
45                  }
46                  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines