From 4a04e708b042cd999b198a3a7ebb193c1ffa1479 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Tue, 3 Mar 2015 20:42:00 -0600 Subject: [PATCH] Avoid exceptions that take references to their arguments -- it's not clear that this would work reliably. --- include/deal.II/algorithms/any_data.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, -- 2.39.5