summaryrefslogtreecommitdiff
path: root/src/times.h
diff options
context:
space:
mode:
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();
}
}