From 3d642c25d011508259c1f113785bd5d0bc300fdc Mon Sep 17 00:00:00 2001 From: Maschell Date: Sun, 17 May 2020 20:50:05 +0200 Subject: [PATCH] Fix logging of std::string --- source/plugin/PluginMetaInformationFactory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/plugin/PluginMetaInformationFactory.cpp b/source/plugin/PluginMetaInformationFactory.cpp index 7c0a7a2..16cb060 100644 --- a/source/plugin/PluginMetaInformationFactory.cpp +++ b/source/plugin/PluginMetaInformationFactory.cpp @@ -92,7 +92,7 @@ std::optional PluginMetaInformationFactory::loadPlugin(co pluginInfo.setDescription(value); } else if (key.compare("wups") == 0) { if (value.compare("0.2") != 0) { - DEBUG_FUNCTION_LINE("Warning: Ignoring plugin - Unsupported WUPS version: %s.\n", value); + DEBUG_FUNCTION_LINE("Warning: Ignoring plugin - Unsupported WUPS version: %s.\n", value.c_str()); return std::nullopt; } }