blob: c655847f47bb09ac2627527b304578ee7060fe95 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
$NetBSD: patch-soltools_inc_st__list.hxx,v 1.1 2012/06/29 12:36:39 joerg Exp $
--- soltools/inc/st_list.hxx.orig 2012-06-23 16:39:03.000000000 +0000
+++ soltools/inc/st_list.hxx
@@ -297,7 +297,7 @@ DynamicList<XY>::operator=( const Dynami
it != i_rList.end();
++it )
{
- push_back( new XY(*(*it)) );
+ this->push_back( new XY(*(*it)) );
}
return *this;
}
@@ -310,7 +310,7 @@ DynamicList<XY>::Insert(unsigned pos, XY
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++;
|