diff options
Diffstat (limited to 'third_party/nix/src/libstore/export-import.cc')
-rw-r--r-- | third_party/nix/src/libstore/export-import.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/nix/src/libstore/export-import.cc b/third_party/nix/src/libstore/export-import.cc index 6a1862492d1f..d50638d5b0f7 100644 --- a/third_party/nix/src/libstore/export-import.cc +++ b/third_party/nix/src/libstore/export-import.cc @@ -9,7 +9,7 @@ namespace nix { struct HashAndWriteSink : Sink { Sink& writeSink; HashSink hashSink; - HashAndWriteSink(Sink& writeSink) + explicit HashAndWriteSink(Sink& writeSink) : writeSink(writeSink), hashSink(htSHA256) {} virtual void operator()(const unsigned char* data, size_t len) { writeSink(data, len); |