From a9a94d48290a09f70c0260c752badde1bdcd4971 Mon Sep 17 00:00:00 2001 From: "Adam D. Ruppe" Date: Thu, 1 Dec 2011 21:29:49 -0500 Subject: [PATCH] dmd 2.056 const fixes --- html.d | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/html.d b/html.d index 3bee9e8..8bf8130 100644 --- a/html.d +++ b/html.d @@ -826,7 +826,8 @@ class CssRuleSet : CssPart { override CssRuleSet clone() const { auto n = new CssRuleSet(); n.selectors = selectors.dup; - n.contents = contents.dup; + foreach(part; contents) + n.contents ~= part.clone(); return n; }