summaryrefslogtreecommitdiff
path: root/src/format.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/format.cc')
-rw-r--r--src/format.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/format.cc b/src/format.cc
index 97dcfb22..f16b4ba9 100644
--- a/src/format.cc
+++ b/src/format.cc
@@ -45,8 +45,7 @@ format_t::element_t::element_t(const element_t& elem)
type(elem.type),
min_width(elem.min_width),
max_width(elem.max_width),
- data(elem.data),
- next(elem.next ? new element_t(*elem.next) : NULL)
+ data(elem.data)
{
TRACE_CTOR(element_t, "copy");
}