minor nitpick: use .assign method instead of operator=
authormishas <mikhail.sobolev@gmail.com>
Mon, 30 Apr 2007 12:37:11 +0000 (12:37 +0000)
committermishas <mikhail.sobolev@gmail.com>
Mon, 30 Apr 2007 12:37:11 +0000 (12:37 +0000)
git-svn-id: file:///svnroot/simple-launcher/trunk@199 3ba93dab-e023-0410-b42a-de7732cf370a

utils.cc

index 5393af2..92e2389 100644 (file)
--- 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);
     }