diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2020-06-03 20:35:14 -0400 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2020-06-03 20:45:14 -0400 |
commit | 53bc8ff152091173e11f2bead245541e3037d769 (patch) | |
tree | 38a182c213e1a2d53a42b18a8abaf9c5f9224741 /src/nix/add-to-store.cc | |
parent | 3c78ac348c3a32fa6d78d3c56645901513c2e731 (diff) |
No C++ designated initializers yet with Clang 7
Diffstat (limited to 'src/nix/add-to-store.cc')
-rw-r--r-- | src/nix/add-to-store.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nix/add-to-store.cc b/src/nix/add-to-store.cc index b92597cc2..3162e0c62 100644 --- a/src/nix/add-to-store.cc +++ b/src/nix/add-to-store.cc @@ -49,8 +49,8 @@ struct CmdAddToStore : MixDryRun, StoreCommand info.narHash = narHash; info.narSize = sink.s->size(); *info.ca = FileSystemHash { - .method = FileIngestionMethod::Recursive, - .hash = info.narHash + FileIngestionMethod::Recursive, + info.narHash, }; if (!dryRun) { |