aboutsummaryrefslogtreecommitdiffstats
path: root/src/libexec
diff options
context:
space:
mode:
authorJake Petroules <jake.petroules@qt.io>2017-10-24 09:02:03 -0700
committerJake Petroules <jake.petroules@qt.io>2017-11-15 16:57:54 +0000
commita0c61e70eeefbf9d6c632a94d29bcc2a7e97b7d7 (patch)
tree10ae236ef25cc2284377ab7bf29a315ad6a7444c /src/libexec
parent9d8ad8027a34de6871f753047a160b3b3ec65368 (diff)
STL compatibility: use size() instead of count()
This is a simple find and replace with manual sanity check. Change-Id: Ia733befe7885dc3c643d5c84e151312bfd86a3c6 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/libexec')
-rw-r--r--src/libexec/qbs_processlauncher/processlauncher-main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexec/qbs_processlauncher/processlauncher-main.cpp b/src/libexec/qbs_processlauncher/processlauncher-main.cpp
index 224e3bf9b..e4850cff9 100644
--- a/src/libexec/qbs_processlauncher/processlauncher-main.cpp
+++ b/src/libexec/qbs_processlauncher/processlauncher-main.cpp
@@ -49,7 +49,7 @@ int main(int argc, char *argv[])
#endif
QCoreApplication app(argc, argv);
- if (app.arguments().count() != 2) {
+ if (app.arguments().size() != 2) {
qbs::Internal::logError("Need exactly one argument (path to socket)");
return 1;
}