Bjoern Froehlich 13 жил өмнө
parent
commit
4480be23fc

+ 3 - 3
semseg/SemSegContextTree.cpp

@@ -1972,9 +1972,9 @@ void SemSegContextTree::semanticseg ( CachedExample *ce, NICE::Image & segresult
 
   string orgname = list.back();
 #ifdef WRITEGLOB
-  outstream = ofstream("filelist.txt",ofstream::app);
-  outstream << orgname << ".dat" << endl;
-  outstream.close();
+  ofstream ostream("filelist.txt",ofstream::app);
+  ostream << orgname << ".dat" << endl;
+  ostream.close();
 #endif
   if ( cndir != "" )
   {