From: mishas Date: Mon, 30 Apr 2007 12:37:11 +0000 (+0000) Subject: minor nitpick: use .assign method instead of operator= X-Git-Url: http://vcs.maemo.org/git/?p=simple-launcher;a=commitdiff_plain;h=f1449d9b1d20b70088496a229a7e99818918a7b5 minor nitpick: use .assign method instead of operator= git-svn-id: file:///svnroot/simple-launcher/trunk@199 3ba93dab-e023-0410-b42a-de7732cf370a --- diff --git a/utils.cc b/utils.cc index 5393af2..92e2389 100644 --- a/utils.cc +++ b/utils.cc @@ -39,7 +39,7 @@ void runApplication(const std::string& whatToRun) { { gchar *fullPath = g_find_program_in_path(app.c_str()); - app = std::string(fullPath); + app.assign(fullPath); g_free(fullPath); }