]> https://gitweb.dealii.org/ - dealii.git/commitdiff
remove check not working with gcc 2.95
authorGuido Kanschat <dr.guido.kanschat@gmail.com>
Mon, 28 Feb 2005 20:11:15 +0000 (20:11 +0000)
committerGuido Kanschat <dr.guido.kanschat@gmail.com>
Mon, 28 Feb 2005 20:11:15 +0000 (20:11 +0000)
git-svn-id: https://svn.dealii.org/trunk@9930 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/grid/grid_in.cc

index 5c2d81d17bd725e95607b9598b89a555de9ad8ac..e505c4d8315da8bba31de49d5e672db23e8816ad 100644 (file)
@@ -998,12 +998,13 @@ void GridIn<dim>::read (const std::string& filename,
   
   Assert (in.is_open(), ExcFileNotOpen(filename.c_str()));
 
-  if (!in)
-    {
-      std::ios_base::iostate state = in.rdstate();
-      std::cerr << "File open, but error " << state << std::endl;
-      exit(1);
-    }
+//TODO:[GK] Do we really need the following, which does not compile with gcc 2.95?  
+//   if (!in)
+//     {
+//       std::ios_base::iostate state = in.rdstate();
+//       std::cerr << "File open, but error " << state << std::endl;
+//       exit(1);
+//     }
   
   read(in, format);
   in.close();

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.