summaryrefslogtreecommitdiff
path: root/src/commodity.cc
diff options
context:
space:
mode:
authorCraig Earls <enderw88@gmail.com>2011-10-06 22:07:01 -0700
committerCraig Earls <enderw88@gmail.com>2011-10-06 22:07:01 -0700
commitb400d65be082165f44e769605aa6a78133cf6d9a (patch)
tree27b18ee35a5c4f60a10cf4f626e15ac30276040b /src/commodity.cc
parente9ccb012c2c5ffe0e9f4916ee859bda95d9d4248 (diff)
parentf0791bbd7297e737d9e13d0b0bb21473b173b2a7 (diff)
downloadfork-ledger-b400d65be082165f44e769605aa6a78133cf6d9a.tar.gz
fork-ledger-b400d65be082165f44e769605aa6a78133cf6d9a.tar.bz2
fork-ledger-b400d65be082165f44e769605aa6a78133cf6d9a.zip
Merge remote branch 'upstream/next' into next
Diffstat (limited to 'src/commodity.cc')
-rw-r--r--src/commodity.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commodity.cc b/src/commodity.cc
index f8a4b364..5685059d 100644
--- a/src/commodity.cc
+++ b/src/commodity.cc
@@ -444,7 +444,7 @@ commodity_t::find_price(const optional<commodity_t&>& commodity,
return point;
}
return none;
-}
+}
optional<price_point_t>
commodity_t::check_for_updated_price(const optional<price_point_t>& point,
@@ -758,7 +758,7 @@ void to_xml(std::ostream& out, const commodity_t& comm,
out << '"';
x.close_attrs();
-
+
{
push_xml y(out, "symbol");
out << y.guard(comm.symbol());