summaryrefslogtreecommitdiff
path: root/format.h
diff options
context:
space:
mode:
Diffstat (limited to 'format.h')
-rw-r--r--format.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/format.h b/format.h
index 9bbd789b..c8047528 100644
--- a/format.h
+++ b/format.h
@@ -57,6 +57,7 @@ struct format_t
static value_expr_t * value_expr;
static value_expr_t * total_expr;
+ format_t() : elements(NULL) {}
format_t(const std::string& _format) : elements(NULL) {
reset(_format);
}