From 33bcefa50dcf925f2e960957ab8e3edfd9c67338 Mon Sep 17 00:00:00 2001 From: Albert Astals Cid Date: Mon, 30 Sep 2019 21:31:24 +0200 Subject: Small performance enhacements Summary: suggested by clang-tidy Reviewers: davidedmundson Reviewed By: davidedmundson Subscribers: kde-frameworks-devel Tags: #frameworks Differential Revision: https://phabricator.kde.org/D24312 --- src/kconfig_compiler/kconfig_compiler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/kconfig_compiler/kconfig_compiler.cpp') diff --git a/src/kconfig_compiler/kconfig_compiler.cpp b/src/kconfig_compiler/kconfig_compiler.cpp index 349afee7..4c823f7c 100644 --- a/src/kconfig_compiler/kconfig_compiler.cpp +++ b/src/kconfig_compiler/kconfig_compiler.cpp @@ -2330,7 +2330,7 @@ int main(int argc, char **argv) cpp << "}" << endl << endl; if (cfgFileNameArg) { - auto instance = [&cfg, &cpp] (const QString &type, const QString arg, bool wrap) { + auto instance = [&cfg, &cpp] (const QString &type, const QString &arg, bool wrap) { cpp << "void " << cfg.className << "::instance(" << type << " " << arg << ")" << endl; cpp << "{" << endl; cpp << " if (s_global" << cfg.className << "()->q) {" << endl; -- cgit v1.2.1