summaryrefslogtreecommitdiff
path: root/src/value.h
diff options
context:
space:
mode:
authorAlexis Hildebrandt <afh@surryhill.net>2015-02-15 08:39:58 +0100
committerAlexis Hildebrandt <afh@surryhill.net>2015-02-18 21:50:34 +0100
commitd5e1308d07e9a7d9da33aed6f7f617b2209cba40 (patch)
treeef98ba33a55d64aee61d29a3f25232d20dbb2d20 /src/value.h
parentf59abd4c765b08cbd5f18ec851b1d78a766a1c93 (diff)
downloadfork-ledger-d5e1308d07e9a7d9da33aed6f7f617b2209cba40.tar.gz
fork-ledger-d5e1308d07e9a7d9da33aed6f7f617b2209cba40.tar.bz2
fork-ledger-d5e1308d07e9a7d9da33aed6f7f617b2209cba40.zip
[ledger] Remove --cache option
and all boost serialisation related code.
Diffstat (limited to 'src/value.h')
-rw-r--r--src/value.h28
1 files changed, 0 insertions, 28 deletions
diff --git a/src/value.h b/src/value.h
index c224ce04..810d34f9 100644
--- a/src/value.h
+++ b/src/value.h
@@ -227,20 +227,6 @@ public:
data = false;
type = VOID;
}
-
-#if HAVE_BOOST_SERIALIZATION
- private:
- /** Serialization. */
-
- friend class boost::serialization::access;
-
- template<class Archive>
- void serialize(Archive& ar, const unsigned int /* version */) {
- ar & data;
- ar & type;
- ar & refc;
- }
-#endif // HAVE_BOOST_SERIALIZATION
};
private:
@@ -965,20 +951,6 @@ public:
* Debugging methods.
*/
bool valid() const;
-
-#if HAVE_BOOST_SERIALIZATION
-private:
- /** Serialization. */
-
- friend class boost::serialization::access;
-
- template<class Archive>
- void serialize(Archive& ar, const unsigned int /* version */) {
- ar & true_value;
- ar & false_value;
- ar & storage;
- }
-#endif // HAVE_BOOST_SERIALIZATION
};
#define NULL_VALUE (value_t())