--- yoda/techmodel/TechmodelPamelaRun.cpp	2004/09/21 20:24:33	1.2
+++ yoda/techmodel/TechmodelPamelaRun.cpp	2005/03/04 15:54:11	3.0
@@ -1,6 +1,6 @@
 /** @file
  * $Source: /home/cvsmanager/yoda/techmodel/TechmodelPamelaRun.cpp,v $
- * $Id: TechmodelPamelaRun.cpp,v 1.1.1.1 2004/07/06 12:20:23 kusanagi Exp $
+ * $Id: TechmodelPamelaRun.cpp,v 2.1 2004/12/03 22:08:01 kusanagi Exp $
  * $Author: kusanagi $
  * 
  * Implementation of the TechmodelPamelaRun class.
@@ -29,7 +29,7 @@
   InputFile = new ifstream(fileName.c_str(), std::ios::binary); //inserito ios::binary maurizio 01/03/2004
   if (!*InputFile){
     std::stringstream oss;
-    oss.flush();
+    oss.str("");
     oss << "Cannot open file " << fileName;
     logger->error(oss.str().c_str());
     throw std::exception();