From: Wolfgang Bangerth Date: Mon, 21 Mar 2022 18:50:36 +0000 (-0600) Subject: Rename a class. X-Git-Tag: v9.4.0-rc1~356^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f70a43e8284c18393cc3bb3c4db0b22ca560d25;p=dealii.git Rename a class. --- diff --git a/source/base/table_handler.cc b/source/base/table_handler.cc index d4b3db9a7e..348407ae08 100644 --- a/source/base/table_handler.cc +++ b/source/base/table_handler.cc @@ -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 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