From a6c9f173a4bde3b5d296e9a0d37e293260e60fab Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Sun, 2 Aug 2020 22:11:51 -0400 Subject: [PATCH] Apply templated write_message to particle_restart.cpp --- src/particle_restart.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/particle_restart.cpp b/src/particle_restart.cpp index b0f739bd06..be9eda77fb 100644 --- a/src/particle_restart.cpp +++ b/src/particle_restart.cpp @@ -24,8 +24,7 @@ namespace openmc { void read_particle_restart(Particle& p, RunMode& previous_run_mode) { // Write meessage - write_message("Loading particle restart file " + - settings::path_particle_restart + "...", 5); + write_message(5, "Loading particle restart file {}", settings::path_particle_restart); // Open file hid_t file_id = file_open(settings::path_particle_restart, 'r');