Skip to content

Commit fb17395

Browse files
committed
boost::shared_ptr straglers
1 parent 0b615ed commit fb17395

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/core.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@ void core::config_checkpoint( pt::ptree& value)
538538

539539
if (!match->path.empty())
540540
{
541-
auto& writer = boost::get<boost::shared_ptr<ugrid_writer>>(out.writer);
541+
auto& writer = boost::get<std::shared_ptr<ugrid_writer>>(out.writer);
542542
writer->set_store_path(match->path);
543543
SPDLOG_DEBUG("Resuming ugrid output from checkpoint file {}", match->path);
544544
}
@@ -1305,7 +1305,7 @@ void core::config_output(pt::ptree &value)
13051305

13061306
if (out.mesh_output_formats == output_info::mesh_outputs::ugrid)
13071307
{
1308-
boost::get<boost::shared_ptr<ugrid_writer>>(out.writer)
1308+
boost::get<std::shared_ptr<ugrid_writer>>(out.writer)
13091309
->set_output_cadence(out.frequency, out.only_last_n, out.rotate_frequency);
13101310
}
13111311

@@ -1325,7 +1325,7 @@ void core::config_output(pt::ptree &value)
13251325
{
13261326
CHM_THROW_EXCEPTION(config_error, "chunk_target_mb must be > 0 for ugrid output");
13271327
}
1328-
boost::get<boost::shared_ptr<ugrid_writer>>(out.writer)
1328+
boost::get<std::shared_ptr<ugrid_writer>>(out.writer)
13291329
->set_chunking_override(chunk_len_steps, chunk_target_mb);
13301330
}
13311331

0 commit comments

Comments
 (0)