From: Daniel Arndt Date: Sat, 13 Oct 2018 22:24:10 +0000 (+0200) Subject: Avoid warnings in ad_drivers.h X-Git-Tag: v9.1.0-rc1~620^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F7348%2Fhead;p=dealii.git Avoid warnings in ad_drivers.h --- diff --git a/include/deal.II/differentiation/ad/ad_drivers.h b/include/deal.II/differentiation/ad/ad_drivers.h index 45a8015d4f..2e0a8a9dc8 100644 --- a/include/deal.II/differentiation/ad/ad_drivers.h +++ b/include/deal.II/differentiation/ad/ad_drivers.h @@ -1264,8 +1264,7 @@ namespace Differentiation } bool - is_registered_tape( - const typename Types::tape_index tape_index) const + is_registered_tape(const typename Types::tape_index) const { AssertThrow(false, ExcRequiresADOLC()); return false; @@ -1306,7 +1305,7 @@ namespace Differentiation } void - print(std::ostream &stream) const + print(std::ostream &) const { AssertThrow(false, ExcRequiresADOLC()); }