From: Timo Heister Date: Sat, 24 Dec 2016 12:33:15 +0000 (+0100) Subject: suppress clang warning X-Git-Tag: v8.5.0-rc1~311^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d538961d8b6fe7487e09ec59100fd752dc168c3;p=dealii.git suppress clang warning --- diff --git a/include/deal.II/base/aligned_vector.h b/include/deal.II/base/aligned_vector.h index 1f45f903f2..6961b437d8 100644 --- a/include/deal.II/base/aligned_vector.h +++ b/include/deal.II/base/aligned_vector.h @@ -356,7 +356,7 @@ namespace internal // never arrive here because they are non-trivial). if (std_cxx11::is_trivial::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