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/libfetchers/tarball.cc | |
parent | 3c78ac348c3a32fa6d78d3c56645901513c2e731 (diff) |
No C++ designated initializers yet with Clang 7
Diffstat (limited to 'src/libfetchers/tarball.cc')
-rw-r--r-- | src/libfetchers/tarball.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libfetchers/tarball.cc b/src/libfetchers/tarball.cc index e8e5231d2..f8813ea1a 100644 --- a/src/libfetchers/tarball.cc +++ b/src/libfetchers/tarball.cc @@ -71,8 +71,8 @@ DownloadFileResult downloadFile( info.narHash = hashString(HashType::SHA256, *sink.s); info.narSize = sink.s->size(); info.ca = FileSystemHash { - .method = FileIngestionMethod::Flat, - .hash = hash, + FileIngestionMethod::Flat, + hash, }; auto source = StringSource { *sink.s }; store->addToStore(info, source, NoRepair, NoCheckSigs); |