workaround compiler change

This commit is contained in:
Adam D. Ruppe 2014-07-11 13:22:21 -04:00
parent a7823e8e6a
commit 0b385f54d1
1 changed files with 3 additions and 3 deletions

6
dom.d
View File

@ -1906,7 +1906,7 @@ class Element {
{ {
auto e = Element.make(this.tagName); auto e = Element.make(this.tagName);
e.parentDocument = this.parentDocument; e.parentDocument = this.parentDocument;
e.attributes = this.attributes.dup; e.attributes = this.attributes.aadup;
e.selfClosed = this.selfClosed; e.selfClosed = this.selfClosed;
foreach(child; children) { foreach(child; children) {
e.appendChild(child.cloned); e.appendChild(child.cloned);
@ -1923,7 +1923,7 @@ class Element {
// shallow clone // shallow clone
auto e = Element.make(this.tagName); auto e = Element.make(this.tagName);
e.parentDocument = this.parentDocument; e.parentDocument = this.parentDocument;
e.attributes = this.attributes.dup; e.attributes = this.attributes.aadup;
e.selfClosed = this.selfClosed; e.selfClosed = this.selfClosed;
return e; return e;
} }
@ -5781,7 +5781,7 @@ package bool isInArray(T)(T item, T[] arr) {
return false; return false;
} }
private string[string] dup(in string[string] arr) { private string[string] aadup(in string[string] arr) {
string[string] ret; string[string] ret;
foreach(k, v; arr) foreach(k, v; arr)
ret[k] = v; ret[k] = v;