mirror of
https://github.com/abraunegg/onedrive
synced 2024-06-04 23:12:18 +02:00
Update onedrive.d to remove '&'
Change '&error' to 'error' on line 37 of onedrive.d Issue uncovered where prior code with '&' would compile without issue on DMD reference compiler v2.078.3 and below, but using '2.079.0' this would throw an error if '&' was present. The original patch added the '&' to get the code to compile, this simple reverts this change. Note: For future reference compile this code with DMD v2.079.0 or later.
This commit is contained in:
parent
dd73ae3c4b
commit
8463e60acc
|
@ -34,7 +34,7 @@ class OneDriveException: Exception
|
|||
{
|
||||
this.httpStatusCode = httpStatusCode;
|
||||
this.error = error;
|
||||
string msg = format("HTTP request returned status code %d (%s)\n%s", httpStatusCode, reason, toJSON(&error, true));
|
||||
string msg = format("HTTP request returned status code %d (%s)\n%s", httpStatusCode, reason, toJSON(error, true));
|
||||
super(msg, file, line);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue