From: Timo Heister Date: Fri, 20 Mar 2020 19:00:31 +0000 (-0400) Subject: remove bundled muparser gcc 9 warning X-Git-Tag: v9.2.0-rc1~390^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df9e6d581424b1b34dff6a869222d5279ac0d4d9;p=dealii.git remove bundled muparser gcc 9 warning I am not sure I understand if the default assignment operator does the right thing here, but this avoids the warning and shouldn't change functionality. --- diff --git a/bundled/muparser_v2_2_4/include/muParserCallback.h b/bundled/muparser_v2_2_4/include/muParserCallback.h index ef32b4989e..0beb8c5d4f 100644 --- a/bundled/muparser_v2_2_4/include/muParserCallback.h +++ b/bundled/muparser_v2_2_4/include/muParserCallback.h @@ -81,6 +81,9 @@ public: ParserCallback(strfun_type3 a_pFun, bool a_bAllowOpti); ParserCallback(); ParserCallback(const ParserCallback &a_Fun); + + // deall.II: added the following line to remove Wdeprecated-copy warnings: + constexpr ParserCallback& operator=(const ParserCallback&)=default; ParserCallback* Clone() const;