diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2017-12-01 09:40:19 +0100 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2017-12-06 11:49:41 +0000 |
commit | 2299a79c1ada2696807f40d54da958837ecffbba (patch) | |
tree | d50c1c0b200376f32637bf074aecf2fcc4538b4c /src/lib/corelib/buildgraph/productbuilddata.h | |
parent | 3b41dd8d70897900bb8e988732bf37b94a165e0b (diff) |
Get rid of the PersistentObject class
Our serialization requirements are fully served by the template
mechanism; there is no need to put an inheritance-based approach on top
of it.
Now there is no more virtual inheritance, which allowed us to get rid of
one more dynamic_cast. According to our benchmarker, build graph loading
has become about 3% faster.
Change-Id: If2f5080f74a0ef972a575ac2798f9d94a7f3b519
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Diffstat (limited to 'src/lib/corelib/buildgraph/productbuilddata.h')
-rw-r--r-- | src/lib/corelib/buildgraph/productbuilddata.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/corelib/buildgraph/productbuilddata.h b/src/lib/corelib/buildgraph/productbuilddata.h index 6027de282..5347dca98 100644 --- a/src/lib/corelib/buildgraph/productbuilddata.h +++ b/src/lib/corelib/buildgraph/productbuilddata.h @@ -44,7 +44,6 @@ #include "rescuableartifactdata.h" #include <language/filetags.h> #include <language/forward_decls.h> -#include <tools/persistentobject.h> #include <QtCore/qlist.h> @@ -53,7 +52,7 @@ namespace Internal { class Logger; -class QBS_AUTOTEST_EXPORT ProductBuildData : public PersistentObject +class QBS_AUTOTEST_EXPORT ProductBuildData { public: ~ProductBuildData(); @@ -77,7 +76,6 @@ public: typedef QHash<RuleConstPtr, ArtifactSet> ArtifactSetByRule; ArtifactSetByRule artifactsWithChangedInputsPerRule; -private: void load(PersistentPool &pool); void store(PersistentPool &pool) const; }; |