From d1d469730a6911190f0d611bfe787fe979515b45 Mon Sep 17 00:00:00 2001 From: Felix Faber Date: Fri, 19 Apr 2024 07:18:57 +0200 Subject: [PATCH] skipping string constructor --- lib/importproject.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/importproject.cpp b/lib/importproject.cpp index fe8f3bc85c4e..abc58abd6f7c 100644 --- a/lib/importproject.cpp +++ b/lib/importproject.cpp @@ -187,7 +187,7 @@ ImportProject::Type ImportProject::import(const std::string &filename, Settings if (!mPath.empty() && !endsWith(mPath,'/')) mPath += '/'; if (mPath.empty()) - mPath = std::string("./"); + mPath = "./"; const std::vector fileFilters = settings ? settings->fileFilters : std::vector();