aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/shared.h
diff options
context:
space:
mode:
authorJake Petroules <jake.petroules@qt.io>2017-10-24 10:50:33 -0700
committerJake Petroules <jake.petroules@qt.io>2017-11-16 15:11:15 +0000
commit4432ba4949647917d0fc3fb2ef73f9737a7c2431 (patch)
treee36f48e90f7019ad0ecfb7046638cebf3410930e /tests/auto/shared.h
parenta0c61e70eeefbf9d6c632a94d29bcc2a7e97b7d7 (diff)
STL compatibility: use empty() instead of isEmpty()
This is a simple find and replace with manual sanity check. Change-Id: Iab6d46dcc3be246d1650aae2b1730f933b717be8 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'tests/auto/shared.h')
-rw-r--r--tests/auto/shared.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/shared.h b/tests/auto/shared.h
index 60bb3f64d..f2bda8591 100644
--- a/tests/auto/shared.h
+++ b/tests/auto/shared.h
@@ -213,7 +213,7 @@ inline qbs::Internal::HostOsInfo::HostOs targetOs()
return qbs::Internal::HostOsInfo::HostOsMacos;
if (targetOS.contains("unix"))
return qbs::Internal::HostOsInfo::HostOsOtherUnix;
- if (!targetOS.isEmpty())
+ if (!targetOS.empty())
return qbs::Internal::HostOsInfo::HostOsOther;
return qbs::Internal::HostOsInfo::hostOs();
}