diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2023-07-21 13:46:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-21 13:46:53 +0200 |
commit | 7ac24d952545637b6af2d60852bdd2750621b504 (patch) | |
tree | 01decd818267cfd79c9fe63e594ed3a62336c0d6 /src/libstore/make-content-addressed.cc | |
parent | 85d0eb63165e7d7f441fe3dd94bb548a40502e52 (diff) | |
parent | 903700c5e168e2ab5bd6bee5e09b5908cb2908d6 (diff) |
Merge pull request #8650 from obsidiansystems/content-address-simpler
Simplify `ContentAddress`
Diffstat (limited to 'src/libstore/make-content-addressed.cc')
-rw-r--r-- | src/libstore/make-content-addressed.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/libstore/make-content-addressed.cc b/src/libstore/make-content-addressed.cc index 626a22480..253609ed2 100644 --- a/src/libstore/make-content-addressed.cc +++ b/src/libstore/make-content-addressed.cc @@ -52,10 +52,8 @@ std::map<StorePath, StorePath> makeContentAddressed( dstStore, path.name(), FixedOutputInfo { - .hash = { - .method = FileIngestionMethod::Recursive, - .hash = narModuloHash, - }, + .method = FileIngestionMethod::Recursive, + .hash = narModuloHash, .references = std::move(refs), }, Hash::dummy, |