summaryrefslogtreecommitdiff
path: root/src/history.h
diff options
context:
space:
mode:
authorTim Crews <tim@code-affinity.com>2013-06-16 12:39:30 -0700
committerTim Crews <tim@code-affinity.com>2013-06-16 12:39:30 -0700
commit4bcaa45f1663ca4ce3399ae412642624050c5060 (patch)
tree9bec008355d592494bd9bf4274e56b48f76cc68a /src/history.h
parent0c071d6e1c52006e1a582ccb1ba5b2c31e6bc1d8 (diff)
downloadfork-ledger-4bcaa45f1663ca4ce3399ae412642624050c5060.tar.gz
fork-ledger-4bcaa45f1663ca4ce3399ae412642624050c5060.tar.bz2
fork-ledger-4bcaa45f1663ca4ce3399ae412642624050c5060.zip
Additional changes required for MSVC to compile ledger.
These changes only matter if ledger is compiled with USE_PYTHON.
Diffstat (limited to 'src/history.h')
-rw-r--r--src/history.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/history.h b/src/history.h
index baefb333..fa69d8da 100644
--- a/src/history.h
+++ b/src/history.h
@@ -76,12 +76,12 @@ public:
const datetime_t& _oldest = datetime_t(),
bool bidirectionally = false);
- optional<price_point_t>
+ boost::optional<price_point_t>
find_price(const commodity_t& source,
const datetime_t& moment,
const datetime_t& oldest = datetime_t());
- optional<price_point_t>
+ boost::optional<price_point_t>
find_price(const commodity_t& source,
const commodity_t& target,
const datetime_t& moment,