mirror of https://github.com/adamdruppe/arsd.git
fix warnings
This commit is contained in:
parent
85cb464330
commit
168895801e
|
@ -53,7 +53,6 @@ string convertToUtf8(immutable(ubyte)[] data, string dataCharacterEncoding) {
|
||||||
switch(encoding) {
|
switch(encoding) {
|
||||||
default:
|
default:
|
||||||
throw new Exception("I don't know how to convert " ~ dataCharacterEncoding ~ " to UTF-8");
|
throw new Exception("I don't know how to convert " ~ dataCharacterEncoding ~ " to UTF-8");
|
||||||
break;
|
|
||||||
// since the input is immutable, these are ok too.
|
// since the input is immutable, these are ok too.
|
||||||
// just want to cover all the bases with one runtime function.
|
// just want to cover all the bases with one runtime function.
|
||||||
case "utf16":
|
case "utf16":
|
||||||
|
|
6
dom.d
6
dom.d
|
@ -1754,7 +1754,7 @@ class DocumentFragment : Element {
|
||||||
}
|
}
|
||||||
|
|
||||||
///.
|
///.
|
||||||
string writeToAppender(Appender!string where = appender!string()) const {
|
override string writeToAppender(Appender!string where = appender!string()) const {
|
||||||
return this.innerHTML(where);
|
return this.innerHTML(where);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1967,7 +1967,7 @@ class RawSource : Element {
|
||||||
}
|
}
|
||||||
|
|
||||||
///.
|
///.
|
||||||
string writeToAppender(Appender!string where = appender!string()) const {
|
override string writeToAppender(Appender!string where = appender!string()) const {
|
||||||
where.put(source);
|
where.put(source);
|
||||||
return source;
|
return source;
|
||||||
}
|
}
|
||||||
|
@ -4402,7 +4402,7 @@ class CssStyle {
|
||||||
case "outline-left":
|
case "outline-left":
|
||||||
case "outline-right":
|
case "outline-right":
|
||||||
|
|
||||||
default: ;
|
default: {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue