summaryrefslogtreecommitdiff
path: root/src/commodity.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-03-08 00:55:06 -0600
committerJohn Wiegley <johnw@newartisans.com>2012-03-08 00:55:06 -0600
commit21e8b7f6f0a182f67899c5cd3689a5e646d8ed4a (patch)
tree2f9124c1ca3584532c457eab2d7679d4821f0a05 /src/commodity.h
parent17a84642fbb4684d5a8415371003f12ccb760d99 (diff)
downloadfork-ledger-21e8b7f6f0a182f67899c5cd3689a5e646d8ed4a.tar.gz
fork-ledger-21e8b7f6f0a182f67899c5cd3689a5e646d8ed4a.tar.bz2
fork-ledger-21e8b7f6f0a182f67899c5cd3689a5e646d8ed4a.zip
Added nail_down() for pinning market value exprs
Diffstat (limited to 'src/commodity.h')
-rw-r--r--src/commodity.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/commodity.h b/src/commodity.h
index 3d36e35e..3f493f8b 100644
--- a/src/commodity.h
+++ b/src/commodity.h
@@ -291,6 +291,8 @@ public:
const optional<datetime_t>& moment,
const optional<commodity_t&>& in_terms_of);
+ commodity_t& nail_down(const expr_t& expr);
+
// Methods related to parsing, reading, writing, etc., the commodity
// itself.