aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/local-store.hh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2022-02-15 15:08:06 +0100
committerEelco Dolstra <edolstra@gmail.com>2022-02-16 11:02:35 +0100
commit2d6d9a28ebb17b1ba1fe0dc4d56b6aa311f94d39 (patch)
tree31bf1782dafe46367a02458f5810135df047ae48 /src/libstore/local-store.hh
parentf450edc78bd3dd4ad865b8d6f7f0f0b8afd01354 (diff)
addToStoreFromDump(): Take std::string_view
Diffstat (limited to 'src/libstore/local-store.hh')
-rw-r--r--src/libstore/local-store.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/local-store.hh b/src/libstore/local-store.hh
index 8cf9c68b3..46aed9bcb 100644
--- a/src/libstore/local-store.hh
+++ b/src/libstore/local-store.hh
@@ -144,7 +144,7 @@ public:
void addToStore(const ValidPathInfo & info, Source & source,
RepairFlag repair, CheckSigsFlag checkSigs) override;
- StorePath addToStoreFromDump(Source & dump, const string & name,
+ StorePath addToStoreFromDump(Source & dump, std::string_view name,
FileIngestionMethod method, HashType hashAlgo, RepairFlag repair, const StorePathSet & references) override;
StorePath addTextToStore(const string & name, const string & s,