]> https://gitweb.dealii.org/ - dealii.git/commitdiff
suppress clang warning 3710/head
authorTimo Heister <timo.heister@gmail.com>
Sat, 24 Dec 2016 12:33:15 +0000 (13:33 +0100)
committerTimo Heister <timo.heister@gmail.com>
Sat, 24 Dec 2016 12:58:49 +0000 (13:58 +0100)
include/deal.II/base/aligned_vector.h

index 1f45f903f2be7e1f227274f34d44255f7078481e..6961b437d8637ecfa7a493a46190a922671f5f84 100644 (file)
@@ -356,7 +356,7 @@ namespace internal
       // never arrive here because they are non-trivial).
 
       if (std_cxx11::is_trivial<T>::value == true)
-        std::memcpy ((void *)(destination_+begin), source_+begin,
+        std::memcpy ((void *)(destination_+begin), (void *)(source_+begin),
                      (end-begin)*sizeof(T));
       else if (copy_source_ == false)
         for (std::size_t i=begin; i<end; ++i)

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.