diff options
author | John Wiegley <johnw@newartisans.com> | 2009-11-13 13:41:54 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-11-13 13:41:54 -0500 |
commit | 73baf9cd727407f6e47b410bbde3b4bcad482ae3 (patch) | |
tree | 71a93ea1eaf17901ebf89fe0556e87ab7ec6db50 /src/times.cc | |
parent | ef3adb5fe0b91cfd7d74eab7275356aa49de7120 (diff) | |
parent | 2986bc779e055fe8bd3511994c539d65d3a7aa57 (diff) | |
download | fork-ledger-73baf9cd727407f6e47b410bbde3b4bcad482ae3.tar.gz fork-ledger-73baf9cd727407f6e47b410bbde3b4bcad482ae3.tar.bz2 fork-ledger-73baf9cd727407f6e47b410bbde3b4bcad482ae3.zip |
Merge branch 'next'
Diffstat (limited to 'src/times.cc')
-rw-r--r-- | src/times.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/times.cc b/src/times.cc index b737b2a0..6afbab0a 100644 --- a/src/times.cc +++ b/src/times.cc @@ -789,8 +789,8 @@ std::string format_datetime(const datetime_t& when, return printed_datetime_io->format(when); } else { - assert(0); - return ""; + assert(false); + return empty_string; } } @@ -815,8 +815,8 @@ std::string format_date(const date_t& when, return printed_date_io->format(when); } else { - assert(0); - return ""; + assert(false); + return empty_string; } } |