X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=libctsim%2Farray2dfile.cpp;h=b3dc43263beaf1a54e01455126a907a31a614960;hp=40be226ee82c45ec0f523f41aa4842ff57fd5c4a;hb=6afa21de8aa00b405de47584efe108c71df33e1b;hpb=e0fe7f917f52ea92621348e501400a3d1e9da96d diff --git a/libctsim/array2dfile.cpp b/libctsim/array2dfile.cpp index 40be226..b3dc432 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.18 2000/12/15 22:07:35 kevin Exp $ +** $Id: array2dfile.cpp,v 1.20 2000/12/16 02:44:26 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 @@ -139,7 +139,7 @@ Array2dFileLabel::operator= (const Array2dFileLabel& rhs) } void -Array2dFileLabel::print (ostream& os) const +Array2dFileLabel::print (std::ostream& os) const { if (m_labelType == L_HISTORY) { os << "History: " << endl; @@ -563,7 +563,7 @@ Array2dFile::labelsCopy (Array2dFile& copyFile, const char* const pszId) for (unsigned int i = 0; i < copyFile.getNumLabels(); i++) { Array2dFileLabel l (copyFile.labelGet (i)); string lstr = l.getLabelString(); - lstr = idStr + lstr; + lstr = id + lstr; l.setLabelString (lstr); labelAdd (l); }