]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Rename a class. 13556/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Mon, 21 Mar 2022 18:50:36 +0000 (12:50 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Mon, 21 Mar 2022 18:50:36 +0000 (12:50 -0600)
source/base/table_handler.cc

index d4b3db9a7e63aa63321a3015c19e62beeb93fdcf..348407ae089a67bbd7605d6eaaa0bf3ec107ab23 100644 (file)
@@ -114,7 +114,7 @@ namespace internal
   {
     // see which type we can cast to, then use this type to create
     // a default constructed object
-    struct GetDefaultValue : public boost::static_visitor<>
+    struct SetValueToDefault : public boost::static_visitor<>
     {
       template <typename T>
       void
@@ -131,7 +131,7 @@ namespace internal
   {
     TableEntry new_entry = *this;
 #ifndef DEAL_II_HAVE_CXX17
-    boost::apply_visitor(Local::GetDefaultValue(), new_entry.value);
+    boost::apply_visitor(Local::SetValueToDefault(), new_entry.value);
 #else
     // Let std::visit figure out which data type is actually stored,
     // and then set the object so stored to a default-constructed

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.