Apply templated write_message to plot.cpp

This commit is contained in:
Andrew Johnson 2020-08-02 22:11:51 -04:00
parent a6c9f173a4
commit 697f8c77eb
No known key found for this signature in database
GPG key ID: 253418E91B7F6FEB

View file

@ -94,8 +94,7 @@ extern "C"
int openmc_plot_geometry()
{
for (auto pl : model::plots) {
write_message(fmt::format("Processing plot {}: {}...",
pl.id_, pl.path_plot_), 5);
write_message(5, "Processing plot {}: {}...", pl.id_, pl.path_plot_);
if (PlotType::slice == pl.type_) {
// create 2D image