From a06a619228b97134fa30807fb7ccc3961ff259d2 Mon Sep 17 00:00:00 2001 From: David Kocik Date: Mon, 15 May 2023 10:43:46 +0200 Subject: [PATCH] Fix of boost format error. issue #10556 --- src/slic3r/GUI/ConfigWizard.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/slic3r/GUI/ConfigWizard.cpp b/src/slic3r/GUI/ConfigWizard.cpp index d0b772197..60e7b00cc 100644 --- a/src/slic3r/GUI/ConfigWizard.cpp +++ b/src/slic3r/GUI/ConfigWizard.cpp @@ -159,7 +159,7 @@ BundleMap BundleMap::load() idx_path = fs::path(cache_dir / (id + ".idx")); } if (!boost::filesystem::exists(idx_path)) { - BOOST_LOG_TRIVIAL(error) << format("Could not load bundle %1% due to missing index %1%.", id, idx_path.string()); + BOOST_LOG_TRIVIAL(error) << format("Could not load bundle %1% due to missing index %2%.", id, idx_path.string()); continue; } Slic3r::GUI::Config::Index index; @@ -167,7 +167,7 @@ BundleMap BundleMap::load() index.load(idx_path); } catch (const std::exception& /* err */) { - BOOST_LOG_TRIVIAL(error) << format("Could not load bundle %1% due to invalid index %1%.", id, idx_path.string()); + BOOST_LOG_TRIVIAL(error) << format("Could not load bundle %1% due to invalid index %2%.", id, idx_path.string()); continue; } const auto recommended_it = index.recommended();