From 1445ea6d69146b2c05efbfe142c557f9bf724025 Mon Sep 17 00:00:00 2001 From: Jake Petroules Date: Tue, 24 Oct 2017 11:41:18 -0700 Subject: STL compatibility: use push_back() instead of append() ...or operator<< if the argument was itself a list, or brace init where appropriate. This is a simple find and replace with manual sanity check. Change-Id: I94b79cbf3752192dd258001bf1dfcd46f58ca352 Reviewed-by: Christian Kandeler --- src/app/qbs-setup-toolchains/xcodeprobe.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/app/qbs-setup-toolchains/xcodeprobe.cpp') diff --git a/src/app/qbs-setup-toolchains/xcodeprobe.cpp b/src/app/qbs-setup-toolchains/xcodeprobe.cpp index ce82dd5cf..c9f8f49fd 100644 --- a/src/app/qbs-setup-toolchains/xcodeprobe.cpp +++ b/src/app/qbs-setup-toolchains/xcodeprobe.cpp @@ -91,7 +91,7 @@ bool XcodeProbe::addDeveloperPath(const QString &path) return false; if (developerPaths.contains(path)) return false; - developerPaths.append(path); + developerPaths.push_back(path); qbsInfo() << Tr::tr("Added developer path %1").arg(path); return true; } -- cgit v1.2.3