aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/corelib/buildgraph/depscanner.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/buildgraph/depscanner.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/buildgraph/depscanner.cpp')
-rw-r--r--src/lib/corelib/buildgraph/depscanner.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/corelib/buildgraph/depscanner.cpp b/src/lib/corelib/buildgraph/depscanner.cpp
index ab597da1a..6a010aca7 100644
--- a/src/lib/corelib/buildgraph/depscanner.cpp
+++ b/src/lib/corelib/buildgraph/depscanner.cpp
@@ -202,7 +202,7 @@ bool UserDependencyScanner::areModulePropertiesCompatible(const PropertyMapConst
// TODO: This should probably be made more fine-grained. Perhaps the Scanner item
// could declare the relevant properties, or we could figure them out automatically
// somehow.
- return m1 == m2 || m1->value() == m2->value();
+ return m1 == m2 || *m1 == *m2;
}
class ScriptEngineActiveFlagGuard