From 4432ba4949647917d0fc3fb2ef73f9737a7c2431 Mon Sep 17 00:00:00 2001 From: Jake Petroules Date: Tue, 24 Oct 2017 10:50:33 -0700 Subject: 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 --- tests/auto/shared.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/auto/shared.h') 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(); } -- cgit v1.2.3