From bd76dbd9a2b58b70f8ca4b611ee26aeb2abe1b2c Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Sun, 2 Aug 2020 22:11:52 -0400 Subject: [PATCH] Apply templated write_message to source.cpp --- src/source.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/source.cpp b/src/source.cpp index 3f31541db..7e9b16859 100644 --- a/src/source.cpp +++ b/src/source.cpp @@ -263,8 +263,7 @@ void initialize_source() // Read the source from a binary file instead of sampling from some // assumed source distribution - write_message(fmt::format("Reading source file from {}...", - settings::path_source), 6); + write_message(6, "Reading source file from {}...", settings::path_source); // Open the binary file hid_t file_id = file_open(settings::path_source, 'r', true); @@ -285,8 +284,7 @@ void initialize_source() file_close(file_id); } else if (!settings::path_source_library.empty()) { - write_message(fmt::format("Sampling from library source {}...", - settings::path_source), 6); + write_message(6, "Sampling library source {}...", settings::path_source); fill_source_bank_custom_source();