X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;ds=sidebyside;f=libctsim%2Farray2dfile.cpp;h=03a5f1afdf0424fb3b66584ba1d808e3f5aad6f0;hb=931ea35fdc3a7e463602644e6938730556bf92a7;hp=d260320412f5c44bf1e280aa1b7d5e9c73d8e4f8;hpb=3e346e67f7f7a331919a32439b0f54a4d53d3029;p=ctsim.git diff --git a/libctsim/array2dfile.cpp b/libctsim/array2dfile.cpp index d260320..03a5f1a 100644 --- a/libctsim/array2dfile.cpp +++ b/libctsim/array2dfile.cpp @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2000 Kevin Rosenberg ** -** $Id: array2dfile.cpp,v 1.3 2000/06/28 15:25:34 kevin Exp $ +** $Id: array2dfile.cpp,v 1.4 2000/06/29 12:39:46 kevin Exp $ ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License (version 2) as @@ -540,9 +540,7 @@ Array2dFile::labelsCopy (Array2dFile& copyFile, const char* const idStr) { string id = idStr; for (int i = 0; i < copyFile.getNumLabels(); i++) { - Array2dFileLabel l = copyFile.labelGet (i); - copyFile.labelGet(i).print(cout); - l.print(cout); + Array2dFileLabel l (copyFile.labelGet (i)); string lstr = l.getLabelString(); lstr = idStr + lstr; l.setLabelString (lstr);