]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Add a cast to make cxx happy.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 19 Aug 2003 14:26:24 +0000 (14:26 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 19 Aug 2003 14:26:24 +0000 (14:26 +0000)
git-svn-id: https://svn.dealii.org/trunk@7945 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/common/scripts/make_dependencies.cc

index 94810ae00a2c5bb891d3eebd455012f0877eb1eb..f295cd59e4b5976e212b406e840bc886026a9cfb 100644 (file)
@@ -78,7 +78,7 @@ void determine_direct_includes (const std::string &file)
                                   :
                                   "");
   std::ifstream in(file.c_str());
-  assert (in);
+  assert ((bool)in);
 
   std::string line;
   while (in) 

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.