mirror of https://github.com/adamdruppe/arsd.git
workaround compiler change
This commit is contained in:
parent
a7823e8e6a
commit
0b385f54d1
6
dom.d
6
dom.d
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue