From 545376e57a5398f18a4973b3c479ef3582d4b992 Mon Sep 17 00:00:00 2001 From: Dave Foster Date: Wed, 16 Jan 2019 10:06:26 -0500 Subject: [PATCH] Wrap blank string in std::string constructor, updates #121 --- src/SetBG.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SetBG.cc b/src/SetBG.cc index 927a6c2..6956901 100644 --- a/src/SetBG.cc +++ b/src/SetBG.cc @@ -1808,7 +1808,7 @@ bool SetBGXFCE::call_xfconf(Glib::ustring disp, std::string key, const std::vect vecCmdLine.insert(vecCmdLine.end(), params.begin(), params.end()); try { - Glib::spawn_async("", vecCmdLine, Glib::SPAWN_SEARCH_PATH); + Glib::spawn_async(std::string(""), vecCmdLine, Glib::SPAWN_SEARCH_PATH); } catch (Glib::SpawnError e) { std::cerr << _("ERROR") << "\n" << e.what() << "\n";