src/extprogs.cpp

changeset 252
3f9067022d74
parent 251
c4b96bc41298
child 265
955c0aabfebf
--- a/src/extprogs.cpp	Fri May 24 15:23:56 2013 +0300
+++ b/src/extprogs.cpp	Fri May 24 15:38:23 2013 +0300
@@ -158,7 +158,7 @@
 		if (obj->isColored () == false || obj->color != colnum)
 			continue;
 		
-		objects.push_back (obj);
+		objects << obj;
 	}
 	
 	writeObjects (objects, fname);
@@ -237,9 +237,9 @@
 		}
 		
 		ulong idx = g_curfile->addObject (obj);
-		indices.push_back (idx);
-		copies.push_back (obj->clone ());
-		g_win->sel ().push_back (obj);
+		indices << idx;
+		copies << obj->clone ();
+		g_win->sel () << obj;
 	}
 	
 	if (indices.size() > 0)

mercurial