]> https://gitweb.dealii.org/ - dealii.git/commitdiff
remove logstream DEAL_II_WITH_THREADS logic 10411/head
authorTimo Heister <timo.heister@gmail.com>
Thu, 28 May 2020 20:03:20 +0000 (16:03 -0400)
committerTimo Heister <timo.heister@gmail.com>
Thu, 28 May 2020 20:03:20 +0000 (16:03 -0400)
source/base/logstream.cc

index 5cceadf762f0b25774537fbbcfbc45829694eec4..12a9786c59c7026ce9781ddc1ae5e93d43480c41 100644 (file)
@@ -382,7 +382,6 @@ LogStream::log_thread_id(const bool flag)
 std::stack<std::string> &
 LogStream::get_prefixes() const
 {
-#ifdef DEAL_II_WITH_THREADS
   bool                     exists         = false;
   std::stack<std::string> &local_prefixes = prefixes.get(exists);
 
@@ -396,10 +395,6 @@ LogStream::get_prefixes() const
     }
 
   return local_prefixes;
-
-#else
-  return prefixes.get();
-#endif
 }
 
 

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.