This commit is contained in:
GitHub Merge Button 2012-02-25 13:17:01 -08:00
commit 43cca9632e
3 changed files with 5 additions and 6 deletions

4
cgi.d
View File

@ -1764,8 +1764,8 @@ version(fastcgi) {
/* Helpers for doing temporary files. Used both here and in web.d */
version(Windows) {
import core.sys.windows;
extern(Windows) DWORD GetTempPathW(DWORD, LPTSTR);
import core.sys.windows.windows;
extern(Windows) DWORD GetTempPathW(DWORD, LPWSTR);
alias GetTempPathW GetTempPath;
}

View File

@ -53,7 +53,6 @@ string convertToUtf8(immutable(ubyte)[] data, string dataCharacterEncoding) {
switch(encoding) {
default:
throw new Exception("I don't know how to convert " ~ dataCharacterEncoding ~ " to UTF-8");
break;
// since the input is immutable, these are ok too.
// just want to cover all the bases with one runtime function.
case "utf16":

6
dom.d
View File

@ -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);
}
}
@ -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);
return source;
}
@ -4402,7 +4402,7 @@ class CssStyle {
case "outline-left":
case "outline-right":
default: ;
default: {}
}
}