diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2022-03-03 10:02:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-03 10:02:11 +0100 |
commit | a7c835e9cb95ed573924f6f4a0ab0083058d6000 (patch) | |
tree | c595eb89c4ad9cbadf1d3cfb5d3e2821d7c6a276 /src/nix-env | |
parent | b55d79728ccbd2581fa3aa7b2ec7f498aa2285d6 (diff) |
Use C++11-style initializer
Co-authored-by: John Ericson <git@JohnEricson.me>
Diffstat (limited to 'src/nix-env')
-rw-r--r-- | src/nix-env/nix-env.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix-env/nix-env.cc b/src/nix-env/nix-env.cc index 24f2d2bf3..40c3c5d65 100644 --- a/src/nix-env/nix-env.cc +++ b/src/nix-env/nix-env.cc @@ -953,7 +953,7 @@ static void queryJSON(Globals & globals, std::vector<DrvInfo> & elems, bool prin static void opQuery(Globals & globals, Strings opFlags, Strings opArgs) { - auto & store(*globals.state->store); + auto & store { *globals.state->store }; Strings remaining; std::string attrPath; |