diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-06-15 14:06:58 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-06-15 14:06:58 +0200 |
commit | 1fb762d11fadc659ef41b79eaddddcce5fbbc192 (patch) | |
tree | e47612705a9af354ab5bdca7864d70b1158ace12 /src/nix/upgrade-nix.cc | |
parent | fd64e4fb96f814440dc337ce664cdbd22e0eabb2 (diff) |
Get rid of explicit ErrorInfo constructors
Diffstat (limited to 'src/nix/upgrade-nix.cc')
-rw-r--r-- | src/nix/upgrade-nix.cc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/nix/upgrade-nix.cc b/src/nix/upgrade-nix.cc index fdf94e5a3..a880bdae0 100644 --- a/src/nix/upgrade-nix.cc +++ b/src/nix/upgrade-nix.cc @@ -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; } |