From 5f70a43e8284c18393cc3bb3c4db0b22ca560d25 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Mon, 21 Mar 2022 12:50:36 -0600 Subject: [PATCH] Rename a class. --- source/base/table_handler.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5