From: Wolfgang Bangerth Date: Wed, 4 Mar 2015 02:42:00 +0000 (-0600) Subject: Avoid exceptions that take references to their arguments -- it's not clear that this... X-Git-Tag: v8.3.0-rc1~387^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a04e708b042cd999b198a3a7ebb193c1ffa1479;p=dealii.git Avoid exceptions that take references to their arguments -- it's not clear that this would work reliably. --- diff --git a/include/deal.II/algorithms/any_data.h b/include/deal.II/algorithms/any_data.h index 95bbb3df32..912b24eb4b 100644 --- a/include/deal.II/algorithms/any_data.h +++ b/include/deal.II/algorithms/any_data.h @@ -176,8 +176,8 @@ public: AnyData(const NamedData &); /// An entry with this name does not exist in the AnyData object. - DeclException1(ExcNameNotFound, std::string &, - << "No entry with the name " << arg1 << " exists"); + DeclException1(ExcNameNotFound, std::string, + << "No entry with the name " << arg1 << " exists."); /// The requested type and the stored type are different DeclException2(ExcTypeMismatch,