summaryrefslogtreecommitdiffstats
path: root/science/gchemutils/files/extra-patch-gcu-object.cc
blob: 9b72965d18c75a08fb7d786c97f57b6152305f35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- gcu/object.cc.orig	Thu Mar 17 14:45:35 2005
+++ gcu/object.cc	Sat Apr  2 23:05:36 2005
@@ -392,7 +392,13 @@
 		while (max > TypeNames.size())
 			TypeNames.push_back ("");
 	}
+	/*
 	TypeNames.at (typedesc.Id) = TypeName;
+	 */
+	vector<string>::iterator bleh;
+	bleh = TypeNames.begin();
+	bleh += typedesc.Id;
+	TypeNames.insert(bleh, TypeName);
 	return typedesc.Id;
 }
 
OpenPOWER on IntegriCloud