]> https://gitweb.dealii.org/ - dealii.git/commitdiff
address review comments 10285/head
authorMatthias Maier <tamiko@43-1.org>
Wed, 27 May 2020 16:34:00 +0000 (11:34 -0500)
committerMatthias Maier <tamiko@43-1.org>
Wed, 27 May 2020 16:34:00 +0000 (11:34 -0500)
include/deal.II/base/thread_local_storage.h

index 59cdd3d9082b8d847fee45aed813d0cb755c4e79..7d97140ba7e8d5aedbe0d449b2144c5493789890 100644 (file)
@@ -39,7 +39,7 @@ class LogStream;
 namespace Threads
 {
 #  ifndef DOXYGEN
-  namespace
+  namespace internal
   {
     /*
      * Workaround: The standard unfortunately has an unfortunate design
@@ -66,7 +66,7 @@ namespace Threads
     {
       using type = T;
     };
-  } // namespace
+  } // namespace internal
 #  endif
 
   /**
@@ -100,7 +100,8 @@ namespace Threads
   class ThreadLocalStorage
   {
     static_assert(
-      std::is_copy_constructible<typename unpack_container<T>::type>::value ||
+      std::is_copy_constructible<
+        typename internal::unpack_container<T>::type>::value ||
         std::is_default_constructible<T>::value,
       "The stored type must be either copyable, or default constructible");
 
@@ -183,7 +184,6 @@ namespace Threads
     ThreadLocalStorage<T> &
     operator=(const T &t);
 
-
     /**
      * Move the given argument into the storage space used to represent the
      * current thread. Calling this function as <code>tls_data =

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.