aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/corelib/generators
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 /src/lib/corelib/generators
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 'src/lib/corelib/generators')
-rw-r--r--src/lib/corelib/generators/generatordata.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/corelib/generators/generatordata.h b/src/lib/corelib/generators/generatordata.h
index 21e8a1ab4..b420c9c10 100644
--- a/src/lib/corelib/generators/generatordata.h
+++ b/src/lib/corelib/generators/generatordata.h
@@ -100,7 +100,7 @@ template <typename U> struct IMultiplexableContainer {
bool isValid() const
{
- return !data.isEmpty();
+ return !data.empty();
}
protected:
@@ -175,7 +175,7 @@ struct QBS_EXPORT GeneratableProject : public GeneratableProjectData {
bool isValid() const
{
- return !data.isEmpty() && !projects.isEmpty();
+ return !data.empty() && !projects.empty();
}
const ProjectData projectData(const QString &configurationName) const