Get rid of explicit ErrorInfo constructors

This commit is contained in:
Eelco Dolstra
2020-06-15 14:06:58 +02:00
parent fd64e4fb96
commit 1fb762d11f
19 changed files with 360 additions and 447 deletions
+3 -4
View File
@@ -68,10 +68,9 @@ struct CmdUpgradeNix : MixDryRun, StoreCommand
if (dryRun) {
stopProgressBar();
logWarning(
ErrorInfo {
.name = "Version update",
.hint = hintfmt("would upgrade to version %s", version)
logWarning({
.name = "Version update",
.hint = hintfmt("would upgrade to version %s", version)
});
return;
}