summaryrefslogtreecommitdiff
path: root/times.h
diff options
context:
space:
mode:
Diffstat (limited to 'times.h')
-rw-r--r--times.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/times.h b/times.h
index a6cd9e4d..ba765027 100644
--- a/times.h
+++ b/times.h
@@ -61,7 +61,7 @@ extern int current_year;
extern string input_time_format;
extern string output_time_format;
-DECLARE_EXCEPTION(error, datetime_error);
+DECLARE_EXCEPTION(datetime_error, std::runtime_error);
struct interval_t
{