summaryrefslogtreecommitdiff
path: root/scaddins/source/analysis/analysishelper.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-01-10 10:53:06 +0200
committerNoel Grandin <noel@peralex.com>2014-01-20 13:14:31 +0200
commit22b928d7d7e03e0a8506263ae556a0e3d15b0d86 (patch)
tree992fa1972990bb934a4f773187f31c9e70c772c5 /scaddins/source/analysis/analysishelper.cxx
parent4cc5d3f2d720e9900c6a58880bb979da81326166 (diff)
convert custom list implementation FuncDataList to use std::vector
Change-Id: Id73464d135dd41e6a24663da654a3c623c2814d4
Diffstat (limited to 'scaddins/source/analysis/analysishelper.cxx')
-rw-r--r--scaddins/source/analysis/analysishelper.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/scaddins/source/analysis/analysishelper.cxx b/scaddins/source/analysis/analysishelper.cxx
index d9e7a422946d..bade2db20289 100644
--- a/scaddins/source/analysis/analysishelper.cxx
+++ b/scaddins/source/analysis/analysishelper.cxx
@@ -1508,8 +1508,8 @@ FuncDataList::FuncDataList( ResMgr& rResMgr )
FuncDataList::~FuncDataList()
{
- for( FuncData* p = ( FuncData* ) First() ; p ; p = ( FuncData* ) Next() )
- delete p;
+ for( std::vector<FuncData*>::iterator it = maVector.begin(); it != maVector.end(); ++it )
+ delete *it;
}