summaryrefslogtreecommitdiff
path: root/src/times.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-11-13 13:41:54 -0500
committerJohn Wiegley <johnw@newartisans.com>2009-11-13 13:41:54 -0500
commit73baf9cd727407f6e47b410bbde3b4bcad482ae3 (patch)
tree71a93ea1eaf17901ebf89fe0556e87ab7ec6db50 /src/times.h
parentef3adb5fe0b91cfd7d74eab7275356aa49de7120 (diff)
parent2986bc779e055fe8bd3511994c539d65d3a7aa57 (diff)
downloadfork-ledger-73baf9cd727407f6e47b410bbde3b4bcad482ae3.tar.gz
fork-ledger-73baf9cd727407f6e47b410bbde3b4bcad482ae3.tar.bz2
fork-ledger-73baf9cd727407f6e47b410bbde3b4bcad482ae3.zip
Merge branch 'next'
Diffstat (limited to 'src/times.h')
-rw-r--r--src/times.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/times.h b/src/times.h
index 3cd359d2..77f25d9e 100644
--- a/src/times.h
+++ b/src/times.h
@@ -174,7 +174,7 @@ public:
case YEARS:
return date + gregorian::years(length);
default:
- assert(0); return date_t();
+ assert(false); return date_t();
}
}
@@ -189,7 +189,7 @@ public:
case YEARS:
return date - gregorian::years(length);
default:
- assert(0); return date_t();
+ assert(false); return date_t();
}
}