]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Avoid exceptions that take references to their arguments -- it's not clear that this...
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 4 Mar 2015 02:42:00 +0000 (20:42 -0600)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 5 Mar 2015 02:31:34 +0000 (20:31 -0600)
include/deal.II/algorithms/any_data.h

index 95bbb3df32bc3bf339c41ed7ff1d99804736cc68..912b24eb4bf91a955481b4685ba6d87554bca74e 100644 (file)
@@ -176,8 +176,8 @@ public:
   AnyData(const NamedData<type> &);
 
   /// 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,

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.