diff options
author | Tom Tromey <tromey@redhat.com> | 2011-08-18 11:00:57 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@novell.com> | 2011-08-18 11:00:57 +0100 |
commit | 7762f92e914972f2ad7eb6a92f233aa233dae98b (patch) | |
tree | 92a18fb07adc02cf8c40cb3b219c575da3216301 /soltools | |
parent | 4b46b220bbe09915f7a12ad019cb7a3890eafa6e (diff) |
compile / scope fix for latest gcc
Diffstat (limited to 'soltools')
-rw-r--r-- | soltools/inc/st_list.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/soltools/inc/st_list.hxx b/soltools/inc/st_list.hxx index 5717e01609f3..8ede2ef1f949 100644 --- a/soltools/inc/st_list.hxx +++ b/soltools/inc/st_list.hxx @@ -295,7 +295,7 @@ DynamicList<XY>::operator=( const DynamicList<XY> & i_rList ) it != i_rList.end(); ++it ) { - push_back( new XY(*(*it)) ); + this->push_back( new XY(*(*it)) ); } return *this; } @@ -308,7 +308,7 @@ DynamicList<XY>::Insert(unsigned pos, XY * const & elem_) if ( pos > this->len ) return; - checkSize(DynamicList<XY>::len+2); + this->checkSize(DynamicList<XY>::len+2); memmove( DynamicList<XY>::inhalt+pos+1, DynamicList<XY>::inhalt+pos, (DynamicList<XY>::len-pos) * sizeof(XY*) ); this->inhalt[pos] = elem_; this->len++; |