summaryrefslogtreecommitdiff
path: root/src/history.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2013-06-17 14:03:07 -0700
committerJohn Wiegley <johnw@newartisans.com>2013-06-17 14:03:07 -0700
commit90a1e13a3f3cb371bbea9c5ff3ed41031892dfac (patch)
tree9bec008355d592494bd9bf4274e56b48f76cc68a /src/history.h
parentfe810fa13f1e814e69dee2484c8b2878d5101d6c (diff)
parent4bcaa45f1663ca4ce3399ae412642624050c5060 (diff)
downloadfork-ledger-90a1e13a3f3cb371bbea9c5ff3ed41031892dfac.tar.gz
fork-ledger-90a1e13a3f3cb371bbea9c5ff3ed41031892dfac.tar.bz2
fork-ledger-90a1e13a3f3cb371bbea9c5ff3ed41031892dfac.zip
Merge pull request #195 from code-affinity/msvc-11.0
Minor source code changes required to compile with Microsoft Visual C++ 11 (2012)
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,