summaryrefslogtreecommitdiff
path: root/src/format.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/format.h')
-rw-r--r--src/format.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/format.h b/src/format.h
index 60ae2abe..cc48bdda 100644
--- a/src/format.h
+++ b/src/format.h
@@ -125,9 +125,9 @@ public:
}
format_t(const string& _str, scope_t * context = NULL)
: base_type(context) {
- TRACE_CTOR(format_t, "const string&");
if (! _str.empty())
parse_format(_str);
+ TRACE_CTOR(format_t, "const string&");
}
virtual ~format_t() {
TRACE_DTOR(format_t);