summaryrefslogtreecommitdiff
path: root/cad/gnucap/patches/patch-ab
blob: 8f7600ff8e7a12b7345933faa591c84562a04cae (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-ab,v 1.3 2005/12/20 12:02:15 joerg Exp $

--- modelgen/mg_.h.orig	2005-12-13 15:26:08.000000000 +0000
+++ modelgen/mg_.h
@@ -118,7 +118,7 @@ class List
 	}
 	T* p = new T(file);
 	{if (!file.stuck(&here)) {
-	  _list.push_back(p);
+	  this->_list.push_back(p);
 	}else {
 	  delete p;
 	  file.warn(0, "not valid here");
@@ -137,7 +137,7 @@ class Collection
     int here = file.cursor();
     T* m = new T(file);
     {if (!file.stuck(&here)) {
-      _list.push_back(m);
+      this->_list.push_back(m);
     }else{
       delete m;
       file.warn(0, "what's this??");