summaryrefslogtreecommitdiff
path: root/src/pool.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-03-04 04:03:32 -0600
committerJohn Wiegley <johnw@newartisans.com>2012-03-05 05:03:52 -0600
commite9108783122ae4d775046ced646b14552f1e184d (patch)
tree4dd6699b86f65f17c93d5d465589fc344c8990fc /src/pool.cc
parent48ab6ad1dbab100bb8abd87029a0ca5bc501a3db (diff)
downloadfork-ledger-e9108783122ae4d775046ced646b14552f1e184d.tar.gz
fork-ledger-e9108783122ae4d775046ced646b14552f1e184d.tar.bz2
fork-ledger-e9108783122ae4d775046ced646b14552f1e184d.zip
Changes to get all the code to compile
Diffstat (limited to 'src/pool.cc')
-rw-r--r--src/pool.cc9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/pool.cc b/src/pool.cc
index 67cfe3d1..2c094d47 100644
--- a/src/pool.cc
+++ b/src/pool.cc
@@ -223,15 +223,6 @@ commodity_t * commodity_pool_t::find_or_create(commodity_t& comm,
return create(comm, details, name);
}
-optional<price_point_t>
-commodity_pool_t::find_price(const commodity_t& source,
- const optional<commodity_t&>& commodity,
- const optional<datetime_t>& moment,
- const optional<datetime_t>& oldest) const
-{
- return commodity_price_history.find_price(source, commodity, moment, oldest);
-}
-
void commodity_pool_t::exchange(commodity_t& commodity,
const amount_t& per_unit_cost,
const datetime_t& moment)