diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2018-06-14 10:54:40 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2018-06-14 09:00:52 +0000 |
commit | 439f8f2f3ab1e137d750208d232d7c79dbabda83 (patch) | |
tree | 0df56a36b2915edfb1ada4b0f0695cab58cfb15b | |
parent | bca581c86a61412cb8c09a76f7f1805f57d22980 (diff) |
Fix RulesApplicator::InputsSourceFlag
This enum is used for a QFlags type, so we cannot have a zero value in
there.
Change-Id: Ifd935c398065b0706cb0fba85c1752c448c26f4c
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
-rw-r--r-- | src/lib/corelib/buildgraph/rulesapplicator.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/corelib/buildgraph/rulesapplicator.h b/src/lib/corelib/buildgraph/rulesapplicator.h index 76220f52d..adc58f3d0 100644 --- a/src/lib/corelib/buildgraph/rulesapplicator.h +++ b/src/lib/corelib/buildgraph/rulesapplicator.h @@ -76,7 +76,7 @@ public: const ArtifactSet &artifactsToRemove, const Logger &logger); static ArtifactSet collectAuxiliaryInputs(const Rule *rule, const ResolvedProduct *product); - enum InputsSourceFlag { CurrentProduct, Dependencies }; + enum InputsSourceFlag { CurrentProduct = 1, Dependencies = 2 }; Q_DECLARE_FLAGS(InputsSources, InputsSourceFlag) private: |