diff options
author | Craig Earls <enderw88@gmail.com> | 2011-10-06 22:07:01 -0700 |
---|---|---|
committer | Craig Earls <enderw88@gmail.com> | 2011-10-06 22:07:01 -0700 |
commit | b400d65be082165f44e769605aa6a78133cf6d9a (patch) | |
tree | 27b18ee35a5c4f60a10cf4f626e15ac30276040b /src/post.cc | |
parent | e9ccb012c2c5ffe0e9f4916ee859bda95d9d4248 (diff) | |
parent | f0791bbd7297e737d9e13d0b0bb21473b173b2a7 (diff) | |
download | fork-ledger-b400d65be082165f44e769605aa6a78133cf6d9a.tar.gz fork-ledger-b400d65be082165f44e769605aa6a78133cf6d9a.tar.bz2 fork-ledger-b400d65be082165f44e769605aa6a78133cf6d9a.zip |
Merge remote branch 'upstream/next' into next
Diffstat (limited to 'src/post.cc')
-rw-r--r-- | src/post.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/post.cc b/src/post.cc index ca03a675..4178c8bc 100644 --- a/src/post.cc +++ b/src/post.cc @@ -115,7 +115,7 @@ date_t post_t::actual_date() const return xact->date(); } return *_date; -} +} optional<date_t> post_t::effective_date() const { @@ -341,7 +341,7 @@ namespace { value_t get_value_date(post_t& post) { if (post.has_xdata()) { post_t::xdata_t& xdata(post.xdata()); - if (! xdata.value_date.is_not_a_date()) + if (! xdata.value_date.is_not_a_date()) return xdata.value_date; } return post.date(); |