summaryrefslogtreecommitdiff
path: root/error.h
diff options
context:
space:
mode:
Diffstat (limited to 'error.h')
-rw-r--r--error.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/error.h b/error.h
index 2ccc739d..16cb197e 100644
--- a/error.h
+++ b/error.h
@@ -74,7 +74,7 @@ public:
str_exception(const string& why,
error_context * ctxt = NULL) throw()
- : std::logic_error(why) {
+ : std::logic_error(why), context() {
if (ctxt)
context.push_back(ctxt);
}