summaryrefslogtreecommitdiff
path: root/amount.h
diff options
context:
space:
mode:
Diffstat (limited to 'amount.h')
-rw-r--r--amount.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/amount.h b/amount.h
index 05508814..8fb5aa14 100644
--- a/amount.h
+++ b/amount.h
@@ -54,7 +54,7 @@ class commodity_t;
class annotation_t;
class commodity_pool_t;
-DECLARE_EXCEPTION(error, amount_error);
+DECLARE_EXCEPTION(amount_error, std::runtime_error);
/**
* @class amount_t