diff options
author | John Wiegley <johnw@newartisans.com> | 2011-08-18 14:48:38 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2011-08-18 14:48:38 -0400 |
commit | f0791bbd7297e737d9e13d0b0bb21473b173b2a7 (patch) | |
tree | 95e2b7806dce0936edd69eca780d180d2ce3195d /src/post.cc | |
parent | add6f6ca2a711e3337f83bd15be5a03e22842591 (diff) | |
download | fork-ledger-f0791bbd7297e737d9e13d0b0bb21473b173b2a7.tar.gz fork-ledger-f0791bbd7297e737d9e13d0b0bb21473b173b2a7.tar.bz2 fork-ledger-f0791bbd7297e737d9e13d0b0bb21473b173b2a7.zip |
Cleanup whitespace
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(); |