diff options
author | John Wiegley <johnw@newartisans.com> | 2012-03-06 23:04:27 -0600 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-03-06 23:04:27 -0600 |
commit | 71d0033b6f65260698cf0bf367002a9b6429a3fd (patch) | |
tree | 63fc939f0e613a1828fc0b7b473bc6c29578f074 /src/times.h | |
parent | 488355e5d92923e1d764625457b866f4fc83d58b (diff) | |
download | fork-ledger-71d0033b6f65260698cf0bf367002a9b6429a3fd.tar.gz fork-ledger-71d0033b6f65260698cf0bf367002a9b6429a3fd.tar.bz2 fork-ledger-71d0033b6f65260698cf0bf367002a9b6429a3fd.zip |
Corrected several compile and link problems
Diffstat (limited to 'src/times.h')
-rw-r--r-- | src/times.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/times.h b/src/times.h index 6eadcad3..edc6d8b8 100644 --- a/src/times.h +++ b/src/times.h @@ -218,6 +218,7 @@ struct date_duration_t case YEARS: return date + gregorian::years(length); } + return date_t(); } date_t subtract(const date_t& date) const { @@ -233,6 +234,7 @@ struct date_duration_t case YEARS: return date - gregorian::years(length); } + return date_t(); } string to_string() const { |