From fd49db9b33c0f54255d92c0d882a4f18c20a5ef3 Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Thu, 24 Jul 2014 19:12:16 +0200 Subject: fix calculation of old inputs for dynamic rules Instead of deducing the old inputs of a rule from the inputs of its created transformers, we hold a dedicated list of old inputs, because the former approach doesn't work for dynamic rules. This fixes a speed regression introduced in 32c4d3d7. The outputArtifacts script of dynamic rules was always run on compatible inputs that were not input of transformers, e.g. C++ sources that don't have a Q_OBJECT macro. Change-Id: I2d43fa7c91ed9084bd27dc9b948c06152bfce726 Reviewed-by: Christian Kandeler --- src/lib/corelib/tools/persistence.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/corelib/tools') diff --git a/src/lib/corelib/tools/persistence.cpp b/src/lib/corelib/tools/persistence.cpp index 09834943c..0264353d3 100644 --- a/src/lib/corelib/tools/persistence.cpp +++ b/src/lib/corelib/tools/persistence.cpp @@ -40,7 +40,7 @@ namespace qbs { namespace Internal { -static const char QBS_PERSISTENCE_MAGIC[] = "QBSPERSISTENCE-73"; +static const char QBS_PERSISTENCE_MAGIC[] = "QBSPERSISTENCE-74"; PersistentPool::PersistentPool(const Logger &logger) : m_logger(logger) { -- cgit v1.2.3