summaryrefslogtreecommitdiff
path: root/src/lib/tools
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@digia.com>2013-08-02 09:37:45 +0200
committerChristian Kandeler <christian.kandeler@digia.com>2013-08-02 10:57:40 +0200
commitb47da5be0461aeaf54b16025430bf604938dd6fb (patch)
tree42ebce6104dee23183ae7628b4f4567adf374ea7 /src/lib/tools
parent7893c2b986c8f767e2cc747e98efcc6b48aec05f (diff)
downloadqbs-b47da5be0461aeaf54b16025430bf604938dd6fb.tar.gz
unmystify the serialization of artifacts
Move the serialization responsibility to Artifact itself. Do not store parents. They are merely backpointers that can be restored after loading. Change-Id: I82b07f6ac07bd74b638985d86635894330743558 Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Diffstat (limited to 'src/lib/tools')
-rw-r--r--src/lib/tools/persistence.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/tools/persistence.cpp b/src/lib/tools/persistence.cpp
index ef7e255e0..f745c5782 100644
--- a/src/lib/tools/persistence.cpp
+++ b/src/lib/tools/persistence.cpp
@@ -40,7 +40,7 @@
namespace qbs {
namespace Internal {
-static const char QBS_PERSISTENCE_MAGIC[] = "QBSPERSISTENCE-46";
+static const char QBS_PERSISTENCE_MAGIC[] = "QBSPERSISTENCE-47";
PersistentPool::PersistentPool(const Logger &logger) : m_logger(logger)
{