fix covariance of clone methods

This commit is contained in:
Trass3r 2011-11-29 19:18:54 +01:00
parent 61f0d29523
commit 15aa26cbdf
1 changed files with 2 additions and 2 deletions

4
html.d
View File

@ -777,7 +777,7 @@ class CssAtRule : CssPart {
string content;
override CssPart clone() const {
override CssAtRule clone() const {
auto n = new CssAtRule();
n.content = content;
return n;
@ -897,7 +897,7 @@ class CssRule : CssPart {
// note: does not include the ending semicolon
string content;
override CssPart clone() const {
override CssRule clone() const {
auto n = new CssRule();
n.content = content;
return n;