diff options
author | John Wiegley <johnw@newartisans.com> | 2008-09-20 14:46:18 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-09-20 14:46:18 -0400 |
commit | 697f6a6bce46e75fcb37c38da9f16ca2f1a8e9a3 (patch) | |
tree | 6c3a1d56ecf904e40bba17519daa72f56b095524 /src/cache.cc | |
parent | e914b476e9a9004f707c71116e9601178ec57c9f (diff) | |
download | fork-ledger-697f6a6bce46e75fcb37c38da9f16ca2f1a8e9a3.tar.gz fork-ledger-697f6a6bce46e75fcb37c38da9f16ca2f1a8e9a3.tar.bz2 fork-ledger-697f6a6bce46e75fcb37c38da9f16ca2f1a8e9a3.zip |
Began initial work to support specifying a series of commodities to -V.
Diffstat (limited to 'src/cache.cc')
-rw-r--r-- | src/cache.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cache.cc b/src/cache.cc index 0501cee6..64b7c751 100644 --- a/src/cache.cc +++ b/src/cache.cc @@ -290,7 +290,7 @@ void read_commodity_base_extra(const char *& data, // duplicated (and thus not lost when the journal's item_pool is deleted). if (! commodity->history) commodity->history = commodity_t::history_t(); - commodity->history->prices.insert(commodity_t::base_t::history_pair(when, amt)); + commodity->history->prices.insert(commodity_t::history_t::value_type(when, amt)); read_history = true; } |