diff options
author | David Robillard <d@drobilla.net> | 2020-11-27 17:58:12 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-11-27 21:42:52 +0100 |
commit | 7c991383000520d03acfb7a1adfd834dd7c8e35e (patch) | |
tree | 4a80722b54b6e6192a67adaf43f0e1105adaf5b2 /src/Patchage.cpp | |
parent | 96b68f0c39b02b41f96245cedcc156c60c3317e2 (diff) | |
download | patchage-7c991383000520d03acfb7a1adfd834dd7c8e35e.tar.gz patchage-7c991383000520d03acfb7a1adfd834dd7c8e35e.tar.bz2 patchage-7c991383000520d03acfb7a1adfd834dd7c8e35e.zip |
Replace boost::format with fmt
Diffstat (limited to 'src/Patchage.cpp')
-rw-r--r-- | src/Patchage.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/Patchage.cpp b/src/Patchage.cpp index b5e9bbf..6a40c20 100644 --- a/src/Patchage.cpp +++ b/src/Patchage.cpp @@ -44,7 +44,10 @@ PATCHAGE_DISABLE_GANV_WARNINGS #include "ganv/Module.hpp" PATCHAGE_RESTORE_WARNINGS -#include <boost/format.hpp> +PATCHAGE_DISABLE_FMT_WARNINGS +#include <fmt/core.h> +PATCHAGE_RESTORE_WARNINGS + #include <glib.h> #include <glib/gstdio.h> #include <gtk/gtkwindow.h> @@ -343,7 +346,7 @@ Patchage::Patchage(int argc, char** argv) _about_win->set_logo(Gdk::Pixbuf::create_from_file( bundle_location() + "/Resources/Patchage.icns")); } catch (const Glib::Exception& e) { - error_msg((boost::format("failed to set logo (%s)") % e.what()).str()); + error_msg(fmt::format("failed to set logo ({})", e.what())); } #endif |