summaryrefslogtreecommitdiff
path: root/src/op.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/op.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/op.h')
-rw-r--r--src/op.h27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/op.h b/src/op.h
index c45ffb08..d94c2534 100644
--- a/src/op.h
+++ b/src/op.h
@@ -314,33 +314,6 @@ private:
value_t calc_call(scope_t& scope, ptr_op_t * locus, const int depth);
value_t calc_cons(scope_t& scope, ptr_op_t * locus, const int depth);
value_t calc_seq(scope_t& scope, ptr_op_t * locus, const int depth);
-
-#if HAVE_BOOST_SERIALIZATION
-private:
- /** Serialization. */
-
- friend class boost::serialization::access;
-
- template<class Archive>
- void serialize(Archive& ar, const unsigned int /* version */) {
- ar & refc;
- ar & kind;
- if (Archive::is_loading::value || ! left_ || ! left_->is_function()) {
- ar & left_;
- } else {
- ptr_op_t temp_op;
- ar & temp_op;
- }
- if (Archive::is_loading::value || is_value() || is_ident() ||
- (kind > UNARY_OPERATORS &&
- (! has_right() || ! right()->is_function()))) {
- ar & data;
- } else {
- variant<ptr_op_t, value_t, string, expr_t::func_t> temp_data;
- ar & temp_data;
- }
- }
-#endif // HAVE_BOOST_SERIALIZATION
};
inline expr_t::ptr_op_t