From 4bcaa45f1663ca4ce3399ae412642624050c5060 Mon Sep 17 00:00:00 2001 From: Tim Crews Date: Sun, 16 Jun 2013 12:39:30 -0700 Subject: Additional changes required for MSVC to compile ledger. These changes only matter if ledger is compiled with USE_PYTHON. --- src/history.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/history.h') 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 + boost::optional find_price(const commodity_t& source, const datetime_t& moment, const datetime_t& oldest = datetime_t()); - optional + boost::optional find_price(const commodity_t& source, const commodity_t& target, const datetime_t& moment, -- cgit v1.2.3