]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix indentation
authorJean-Paul Pelteret <jppelteret@gmail.com>
Fri, 13 Jul 2018 09:18:59 +0000 (11:18 +0200)
committerJean-Paul Pelteret <jppelteret@gmail.com>
Sun, 15 Jul 2018 18:19:21 +0000 (20:19 +0200)
include/deal.II/base/subscriptor.h

index a0846ab026c095c2ffe2becbf99f5211f4ab40cd..9a44a0dae26cb796ff050c9a6c01348c46c0a39d 100644 (file)
@@ -27,7 +27,7 @@
 #include <typeinfo>
 
 #ifdef DEAL_II_WITH_THREADS
-#include <mutex>
+#  include <mutex>
 #endif
 
 DEAL_II_NAMESPACE_OPEN
@@ -133,7 +133,8 @@ public:
    * List the subscribers to the input @p stream.
    */
   template <typename StreamType>
-  void list_subscribers (StreamType &stream) const;
+  void
+  list_subscribers(StreamType &stream) const;
 
   /**
    * List the subscribers to @p deallog.
@@ -271,21 +272,16 @@ Subscriptor::serialize(Archive &, const unsigned int)
 }
 
 template <typename StreamType>
-inline
-void
+inline void
 Subscriptor::list_subscribers(StreamType &stream) const
 {
 #ifdef DEAL_II_WITH_THREADS
   std::lock_guard<std::mutex> lock(mutex);
 #endif
 
-  for (map_iterator it = counter_map.begin();
-       it != counter_map.end(); ++it)
-    stream
-        << it->second << '/'
-        << counter << " subscriptions from \""
-        << it->first << '\"'
-        << std::endl;
+  for (map_iterator it = counter_map.begin(); it != counter_map.end(); ++it)
+    stream << it->second << '/' << counter << " subscriptions from \""
+           << it->first << '\"' << std::endl;
 }
 
 DEAL_II_NAMESPACE_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.