From 4ba6b5e3cab6fc0c59034a40281f5420ea0d4d56 Mon Sep 17 00:00:00 2001 From: Nils Vu Date: Thu, 16 Jan 2025 19:10:49 -0800 Subject: [PATCH] Fix compiling DomainCreators with nvcc --- src/Domain/Creators/TimeDependentOptions/ShapeMap.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Domain/Creators/TimeDependentOptions/ShapeMap.cpp b/src/Domain/Creators/TimeDependentOptions/ShapeMap.cpp index 382c0d91cfcd..4819adcf7f9a 100644 --- a/src/Domain/Creators/TimeDependentOptions/ShapeMap.cpp +++ b/src/Domain/Creators/TimeDependentOptions/ShapeMap.cpp @@ -64,8 +64,8 @@ FromVolumeFileShapeSize::FromVolumeFileShapeSize( std::string subfile_name) : FromVolumeFile(std::move(h5_filename), std::move(subfile_name)), transition_ends_at_cube(transition_ends_at_cube_in) { - const auto shape_fot_map = - retrieve_function_of_time({"Shape" + name(Object)}, std::nullopt); + const auto shape_fot_map = retrieve_function_of_time( + {std::string{"Shape" + name(Object)}}, std::nullopt); const auto& shape_fot = shape_fot_map.at("Shape" + name(Object)); const double initial_time = shape_fot->time_bounds()[0];