summaryrefslogtreecommitdiff
path: root/src/pool.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-03-11 03:55:25 -0500
committerJohn Wiegley <johnw@newartisans.com>2012-03-11 03:55:25 -0500
commit363670d35bf451ff8ce636c071da73a0d93c514a (patch)
tree153899e85596849bcbe96c820d5d55bbc61f1d8b /src/pool.h
parent2303aa993cf41ad5bde8f8f5722bd265c11e3aa7 (diff)
downloadfork-ledger-363670d35bf451ff8ce636c071da73a0d93c514a.tar.gz
fork-ledger-363670d35bf451ff8ce636c071da73a0d93c514a.tar.bz2
fork-ledger-363670d35bf451ff8ce636c071da73a0d93c514a.zip
Tighten up argument passing related to fn_market()
Diffstat (limited to 'src/pool.h')
-rw-r--r--src/pool.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pool.h b/src/pool.h
index b7921f59..eb630781 100644
--- a/src/pool.h
+++ b/src/pool.h
@@ -83,13 +83,12 @@ public:
bool get_quotes; // --download
function<optional<price_point_t>
- (commodity_t& commodity, const optional<commodity_t&>& in_terms_of)>
+ (commodity_t& commodity, const commodity_t * in_terms_of)>
get_commodity_quote;
static shared_ptr<commodity_pool_t> current_pool;
explicit commodity_pool_t();
-
virtual ~commodity_pool_t() {
TRACE_DTOR(commodity_pool_t);
}