aboutsummaryrefslogtreecommitdiff
path: root/src/libfetchers
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2023-02-28 11:57:20 -0500
committerJohn Ericson <John.Ericson@Obsidian.Systems>2023-02-28 11:57:20 -0500
commit85bb865d200f04b73f183af722757c78d5a3be76 (patch)
treec82b05623cf8a02f55dde43e7605aab87aa24aae /src/libfetchers
parent123b11ff83da0cbcef6e4aae276bfbdd7a183656 (diff)
Revert "Remove some designated initializers"
This reverts commit ee9eb83a842eb97d0180fd9d349d30ff27fdb485.
Diffstat (limited to 'src/libfetchers')
-rw-r--r--src/libfetchers/fetchers.cc2
-rw-r--r--src/libfetchers/tarball.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libfetchers/fetchers.cc b/src/libfetchers/fetchers.cc
index dae4998f9..3936eadfe 100644
--- a/src/libfetchers/fetchers.cc
+++ b/src/libfetchers/fetchers.cc
@@ -215,7 +215,7 @@ StorePath Input::computeStorePath(Store & store) const
.method = FileIngestionMethod::Recursive,
.hash = *narHash,
},
- /* .references = */ {},
+ .references = {},
});
}
diff --git a/src/libfetchers/tarball.cc b/src/libfetchers/tarball.cc
index b6f72bb1f..302046610 100644
--- a/src/libfetchers/tarball.cc
+++ b/src/libfetchers/tarball.cc
@@ -78,7 +78,7 @@ DownloadFileResult downloadFile(
.method = FileIngestionMethod::Flat,
.hash = hash,
},
- /* .references = */ {},
+ .references = {},
},
hashString(htSHA256, sink.s),
};