summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-11-04 20:07:32 -0500
committerJohn Wiegley <johnw@newartisans.com>2009-11-04 20:40:42 -0500
commitb14c814fec11ab450c552bccf5fe7d96dc2c4e18 (patch)
tree6060bc848ccf256706961406923b8a22e43343dd
parentfbd660af20e62c6d0836147b7eb83aafb4bad2e8 (diff)
downloadfork-ledger-b14c814fec11ab450c552bccf5fe7d96dc2c4e18.tar.gz
fork-ledger-b14c814fec11ab450c552bccf5fe7d96dc2c4e18.tar.bz2
fork-ledger-b14c814fec11ab450c552bccf5fe7d96dc2c4e18.zip
Whitespace fix
-rw-r--r--src/account.h2
-rw-r--r--src/amount.h2
-rw-r--r--src/annotate.h6
-rw-r--r--src/archive.h2
-rw-r--r--src/balance.h2
-rw-r--r--src/commodity.h10
-rw-r--r--src/expr.h2
-rw-r--r--src/flags.h4
-rw-r--r--src/item.h4
-rw-r--r--src/journal.h4
-rw-r--r--src/mask.h2
-rw-r--r--src/op.h2
-rw-r--r--src/pool.h2
-rw-r--r--src/post.h2
-rw-r--r--src/predicate.h2
-rw-r--r--src/scope.h10
-rw-r--r--src/times.h4
-rw-r--r--src/utils.h2
-rw-r--r--src/value.h4
-rw-r--r--src/xact.h10
20 files changed, 39 insertions, 39 deletions
diff --git a/src/account.h b/src/account.h
index 4ac69532..ac4a4788 100644
--- a/src/account.h
+++ b/src/account.h
@@ -240,7 +240,7 @@ private:
friend class boost::serialization::access;
template<class Archive>
- void serialize(Archive & ar, const unsigned int /* version */) {
+ void serialize(Archive& ar, const unsigned int /* version */) {
ar & boost::serialization::base_object<supports_flags<> >(*this);
ar & boost::serialization::base_object<scope_t>(*this);
ar & parent;
diff --git a/src/amount.h b/src/amount.h
index f7d6986e..1cbd5185 100644
--- a/src/amount.h
+++ b/src/amount.h
@@ -698,7 +698,7 @@ private:
friend class boost::serialization::access;
template<class Archive>
- void serialize(Archive & ar, const unsigned int /* version */);
+ void serialize(Archive& ar, const unsigned int /* version */);
#endif // HAVE_BOOST_SERIALIZATION
/*@}*/
diff --git a/src/annotate.h b/src/annotate.h
index cb2a1161..0f940849 100644
--- a/src/annotate.h
+++ b/src/annotate.h
@@ -106,7 +106,7 @@ private:
friend class boost::serialization::access;
template<class Archive>
- void serialize(Archive & ar, const unsigned int /* version */) {
+ void serialize(Archive& ar, const unsigned int /* version */) {
ar & boost::serialization::base_object<supports_flags<> >(*this);
ar & price;
ar & date;
@@ -159,7 +159,7 @@ private:
friend class boost::serialization::access;
template<class Archive>
- void serialize(Archive & ar, const unsigned int /* version */) {
+ void serialize(Archive& ar, const unsigned int /* version */) {
ar & keep_price;
ar & keep_date;
ar & keep_tag;
@@ -230,7 +230,7 @@ private:
friend class boost::serialization::access;
template<class Archive>
- void serialize(Archive & ar, const unsigned int /* version */) {
+ void serialize(Archive& ar, const unsigned int /* version */) {
ar & boost::serialization::base_object<commodity_t>(*this);
ar & ptr;
ar & details;
diff --git a/src/archive.h b/src/archive.h
index cd778a03..779b57f9 100644
--- a/src/archive.h
+++ b/src/archive.h
@@ -90,7 +90,7 @@ private:
friend class boost::serialization::access;
template<class Archive>
- void serialize(Archive & ar, const unsigned int /* version */) {
+ void serialize(Archive& ar, const unsigned int /* version */) {
ar & sources;
}
#endif // HAVE_BOOST_SERIALIZATION
diff --git a/src/balance.h b/src/balance.h
index ad340aa5..36a6907a 100644
--- a/src/balance.h
+++ b/src/balance.h
@@ -556,7 +556,7 @@ private:
friend class boost::serialization::access;
template<class Archive>
- void serialize(Archive & ar, const unsigned int /* version */) {
+ void serialize(Archive& ar, const unsigned int /* version */) {
ar & amounts;
}
#endif // HAVE_BOOST_SERIALIZATION
diff --git a/src/commodity.h b/src/commodity.h
index b014ee2c..e2a17638 100644
--- a/src/commodity.h
+++ b/src/commodity.h
@@ -70,7 +70,7 @@ private:
friend class boost::serialization::access;
template<class Archive>
- void serialize(Archive & ar, const unsigned int /* version */) {
+ void serialize(Archive& ar, const unsigned int /* version */) {
ar & when;
ar & price;
}
@@ -114,7 +114,7 @@ public:
friend class boost::serialization::access;
template<class Archive>
- void serialize(Archive & ar, const unsigned int /* version */) {
+ void serialize(Archive& ar, const unsigned int /* version */) {
ar & prices;
}
#endif // HAVE_BOOST_SERIALIZATION
@@ -152,7 +152,7 @@ public:
friend class boost::serialization::access;
template<class Archive>
- void serialize(Archive & ar, const unsigned int /* version */) {
+ void serialize(Archive& ar, const unsigned int /* version */) {
ar & histories;
}
#endif // HAVE_BOOST_SERIALIZATION
@@ -210,7 +210,7 @@ protected:
friend class boost::serialization::access;
template<class Archive>
- void serialize(Archive & ar, const unsigned int /* version */) {
+ void serialize(Archive& ar, const unsigned int /* version */) {
ar & boost::serialization::base_object<supports_flags<uint_least16_t> >(*this);
ar & symbol;
ar & precision;
@@ -408,7 +408,7 @@ private:
friend class boost::serialization::access;
template<class Archive>
- void serialize(Archive & ar, const unsigned int /* version */) {
+ void serialize(Archive& ar, const unsigned int /* version */) {
ar & boost::serialization::base_object<delegates_flags<uint_least16_t> >(*this);
ar & base;
ar & parent_;
diff --git a/src/expr.h b/src/expr.h
index 83fe33dd..fc6a76b1 100644
--- a/src/expr.h
+++ b/src/expr.h
@@ -171,7 +171,7 @@ private:
friend class boost::serialization::access;
template<class Archive>
- void serialize(Archive & ar, const unsigned int /* version */) {
+ void serialize(Archive& ar, const unsigned int /* version */) {
ar & ptr;
ar & context;
ar & str;
diff --git a/src/flags.h b/src/flags.h
index 33935556..791b3105 100644
--- a/src/flags.h
+++ b/src/flags.h
@@ -105,7 +105,7 @@ private:
friend class boost::serialization::access;
template<class Archive>
- void serialize(Archive & ar, const unsigned int /* version */)
+ void serialize(Archive& ar, const unsigned int /* version */)
{
ar & _flags;
}
@@ -218,7 +218,7 @@ private:
friend class boost::serialization::access;
template<class Archive>
- void serialize(Archive & ar, const unsigned int /* version */)
+ void serialize(Archive& ar, const unsigned int /* version */)
{
ar & _flags;
}
diff --git a/src/item.h b/src/item.h
index b65d482a..98b30c70 100644
--- a/src/item.h
+++ b/src/item.h
@@ -87,7 +87,7 @@ private:
friend class boost::serialization::access;
template<class Archive>
- void serialize(Archive & ar, const unsigned int /* version */) {
+ void serialize(Archive& ar, const unsigned int /* version */) {
ar & pathname;
ar & beg_pos;
ar & beg_line;
@@ -200,7 +200,7 @@ private:
friend class boost::serialization::access;
template<class Archive>
- void serialize(Archive & ar, const unsigned int /* version */) {
+ void serialize(Archive& ar, const unsigned int /* version */) {
ar & boost::serialization::base_object<supports_flags<> >(*this);
ar & boost::serialization::base_object<scope_t>(*this);
ar & _state;
diff --git a/src/journal.h b/src/journal.h
index 88a225c5..7a7c4ec9 100644
--- a/src/journal.h
+++ b/src/journal.h
@@ -105,7 +105,7 @@ public:
friend class boost::serialization::access;
template<class Archive>
- void serialize(Archive & ar, const unsigned int /* version */) {
+ void serialize(Archive& ar, const unsigned int /* version */) {
ar & filename;
ar & size;
ar & modtime;
@@ -160,7 +160,7 @@ private:
friend class boost::serialization::access;
template<class Archive>
- void serialize(Archive & ar, const unsigned int /* version */) {
+ void serialize(Archive& ar, const unsigned int /* version */) {
ar & master;
ar & basket;
ar & xacts;
diff --git a/src/mask.h b/src/mask.h
index 011c6f61..32d27f42 100644
--- a/src/mask.h
+++ b/src/mask.h
@@ -102,7 +102,7 @@ private:
friend class boost::serialization::access;
template<class Archive>
- void serialize(Archive & ar, const unsigned int /* version */) {
+ void serialize(Archive& ar, const unsigned int /* version */) {
string temp;
if (Archive::is_loading::value) {
ar & temp;
diff --git a/src/op.h b/src/op.h
index b27384ec..2c15186b 100644
--- a/src/op.h
+++ b/src/op.h
@@ -298,7 +298,7 @@ private:
friend class boost::serialization::access;
template<class Archive>
- void serialize(Archive & ar, const unsigned int /* version */) {
+ void serialize(Archive& ar, const unsigned int /* version */) {
ar & refc;
ar & kind;
if (Archive::is_loading::value || ! left_ || left_->kind != FUNCTION) {
diff --git a/src/pool.h b/src/pool.h
index 7e54e595..76257676 100644
--- a/src/pool.h
+++ b/src/pool.h
@@ -145,7 +145,7 @@ private:
friend class boost::serialization::access;
template<class Archive>
- void serialize(Archive & ar, const unsigned int /* version */) {
+ void serialize(Archive& ar, const unsigned int /* version */) {
ar & commodities;
ar & null_commodity;
ar & default_commodity;
diff --git a/src/post.h b/src/post.h
index 5fdee968..5a07299e 100644
--- a/src/post.h
+++ b/src/post.h
@@ -215,7 +215,7 @@ private:
friend class boost::serialization::access;
template<class Archive>
- void serialize(Archive & ar, const unsigned int /* version */) {
+ void serialize(Archive& ar, const unsigned int /* version */) {
ar & boost::serialization::base_object<item_t>(*this);
ar & xact;
ar & account;
diff --git a/src/predicate.h b/src/predicate.h
index 2ac3cc4b..577e872a 100644
--- a/src/predicate.h
+++ b/src/predicate.h
@@ -102,7 +102,7 @@ private:
friend class boost::serialization::access;
template<class Archive>
- void serialize(Archive & ar, const unsigned int /* version */) {
+ void serialize(Archive& ar, const unsigned int /* version */) {
ar & predicate;
ar & what_to_keep;
}
diff --git a/src/scope.h b/src/scope.h
index 7f2680d6..f7c2f46b 100644
--- a/src/scope.h
+++ b/src/scope.h
@@ -75,7 +75,7 @@ private:
friend class boost::serialization::access;
template<class Archive>
- void serialize(Archive &, const unsigned int /* version */) {}
+ void serialize(Archive&, const unsigned int /* version */) {}
#endif // HAVE_BOOST_SERIALIZATION
};
@@ -118,7 +118,7 @@ private:
friend class boost::serialization::access;
template<class Archive>
- void serialize(Archive & ar, const unsigned int /* version */) {
+ void serialize(Archive& ar, const unsigned int /* version */) {
ar & boost::serialization::base_object<scope_t>(*this);
ar & parent;
}
@@ -158,7 +158,7 @@ private:
friend class boost::serialization::access;
template<class Archive>
- void serialize(Archive & ar, const unsigned int /* version */) {
+ void serialize(Archive& ar, const unsigned int /* version */) {
ar & boost::serialization::base_object<child_scope_t>(*this);
ar & symbols;
}
@@ -228,7 +228,7 @@ private:
friend class boost::serialization::access;
template<class Archive>
- void serialize(Archive & ar, const unsigned int /* version */) {
+ void serialize(Archive& ar, const unsigned int /* version */) {
ar & boost::serialization::base_object<child_scope_t>(*this);
ar & args;
}
@@ -274,7 +274,7 @@ private:
friend class boost::serialization::access;
template<class Archive>
- void serialize(Archive & ar, const unsigned int /* version */) {
+ void serialize(Archive& ar, const unsigned int /* version */) {
ar & boost::serialization::base_object<child_scope_t>(*this);
ar & grandchild;
}
diff --git a/src/times.h b/src/times.h
index db83d175..9387320e 100644
--- a/src/times.h
+++ b/src/times.h
@@ -178,7 +178,7 @@ public:
friend class boost::serialization::access;
template<class Archive>
- void serialize(Archive & ar, const unsigned int /* version */) {
+ void serialize(Archive& ar, const unsigned int /* version */) {
ar & quantum;
ar & length;
}
@@ -265,7 +265,7 @@ private:
friend class boost::serialization::access;
template<class Archive>
- void serialize(Archive & ar, const unsigned int /* version */) {
+ void serialize(Archive& ar, const unsigned int /* version */) {
ar & start;
ar & aligned;
ar & skip_duration;
diff --git a/src/utils.h b/src/utils.h
index cdb43037..c3d3cf24 100644
--- a/src/utils.h
+++ b/src/utils.h
@@ -186,7 +186,7 @@ private:
friend class boost::serialization::access;
template<class Archive>
- void serialize(Archive & ar, const unsigned int /* version */) {
+ void serialize(Archive& ar, const unsigned int /* version */) {
ar & boost::serialization::base_object<std::string>(*this);
}
#endif // HAVE_BOOST_SERIALIZATION
diff --git a/src/value.h b/src/value.h
index 2ce90fa2..a0bb533d 100644
--- a/src/value.h
+++ b/src/value.h
@@ -234,7 +234,7 @@ private:
friend class boost::serialization::access;
template<class Archive>
- void serialize(Archive & ar, const unsigned int /* version */) {
+ void serialize(Archive& ar, const unsigned int /* version */) {
ar & data;
ar & type;
ar & refc;
@@ -917,7 +917,7 @@ private:
friend class boost::serialization::access;
template<class Archive>
- void serialize(Archive & ar, const unsigned int /* version */) {
+ void serialize(Archive& ar, const unsigned int /* version */) {
ar & true_value;
ar & false_value;
ar & storage;
diff --git a/src/xact.h b/src/xact.h
index 7de30ee8..781b073e 100644
--- a/src/xact.h
+++ b/src/xact.h
@@ -89,7 +89,7 @@ private:
friend class boost::serialization::access;
template<class Archive>
- void serialize(Archive & ar, const unsigned int /* version */) {
+ void serialize(Archive& ar, const unsigned int /* version */) {
ar & boost::serialization::base_object<item_t>(*this);
ar & journal;
ar & posts;
@@ -134,7 +134,7 @@ private:
friend class boost::serialization::access;
template<class Archive>
- void serialize(Archive & ar, const unsigned int /* version */) {
+ void serialize(Archive& ar, const unsigned int /* version */) {
ar & boost::serialization::base_object<xact_base_t>(*this);
ar & code;
ar & payee;
@@ -188,7 +188,7 @@ private:
friend class boost::serialization::access;
template<class Archive>
- void serialize(Archive & ar, const unsigned int /* version */) {
+ void serialize(Archive& ar, const unsigned int /* version */) {
ar & boost::serialization::base_object<xact_base_t>(*this);
ar & predicate;
}
@@ -227,7 +227,7 @@ private:
friend class boost::serialization::access;
template<class Archive>
- void serialize(Archive & ar, const unsigned int /* version */) {
+ void serialize(Archive& ar, const unsigned int /* version */) {
ar & journal;
}
#endif // HAVE_BOOST_SERIALIZATION
@@ -267,7 +267,7 @@ private:
friend class boost::serialization::access;
template<class Archive>
- void serialize(Archive & ar, const unsigned int /* version */) {
+ void serialize(Archive& ar, const unsigned int /* version */) {
ar & boost::serialization::base_object<xact_base_t>(*this);
ar & period;
ar & period_string;