Use C++11-style initializer

Co-authored-by: John Ericson <git@JohnEricson.me>
This commit is contained in:
Eelco Dolstra 2022-03-03 10:02:11 +01:00 committed by GitHub
parent b55d79728c
commit a7c835e9cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -953,7 +953,7 @@ static void queryJSON(Globals & globals, std::vector<DrvInfo> & elems, bool prin
static void opQuery(Globals & globals, Strings opFlags, Strings opArgs) static void opQuery(Globals & globals, Strings opFlags, Strings opArgs)
{ {
auto & store(*globals.state->store); auto & store { *globals.state->store };
Strings remaining; Strings remaining;
std::string attrPath; std::string attrPath;