aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/corelib/language/artifactproperties.cpp
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2017-01-25 10:50:31 +0100
committerChristian Kandeler <christian.kandeler@qt.io>2017-01-25 16:43:39 +0000
commit2e7326d8ec54c476343e50faa19fd55d8229695c (patch)
treeb97798a68467646ef9f35eb1b16c78d771d84284 /src/lib/corelib/language/artifactproperties.cpp
parent0a3e3a7a3154270c7ddecceeaaf79435dea8b30f (diff)
Add operator== for PropertyMapInternal
Reduce the usage of PropertyMapInternal::value. Change-Id: Ib88fca8d318c43cb1b367a33d2c96ee05c91bd32 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/lib/corelib/language/artifactproperties.cpp')
-rw-r--r--src/lib/corelib/language/artifactproperties.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/corelib/language/artifactproperties.cpp b/src/lib/corelib/language/artifactproperties.cpp
index 8cb1770dc..00c7a2757 100644
--- a/src/lib/corelib/language/artifactproperties.cpp
+++ b/src/lib/corelib/language/artifactproperties.cpp
@@ -68,7 +68,7 @@ void ArtifactProperties::store(PersistentPool &pool) const
bool operator==(const ArtifactProperties &ap1, const ArtifactProperties &ap2)
{
return ap1.fileTagsFilter() == ap2.fileTagsFilter()
- && ap1.propertyMap()->value() == ap2.propertyMap()->value();
+ && *ap1.propertyMap() == *ap2.propertyMap();
}
} // namespace Internal