From 8b8e6fe59b17f39acf530e94734927acc704c833 Mon Sep 17 00:00:00 2001 From: Ashesh Vashi Date: Mon, 20 Jun 2016 23:03:57 +0530 Subject: [PATCH] Passing the arguments to the function appending the path by reference. --- runtime/Server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/Server.cpp b/runtime/Server.cpp index 5204c43f8..3f79397ab 100644 --- a/runtime/Server.cpp +++ b/runtime/Server.cpp @@ -23,7 +23,7 @@ // App headers #include "Server.h" -static void add_to_path(QString python_path, QString path, bool prepend=false) +static void add_to_path(QString &python_path, QString path, bool prepend=false) { if (!python_path.contains(path)) {