aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/nar-info-disk-cache.hh
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2018-09-25 18:54:16 +0200
committerEelco Dolstra <edolstra@gmail.com>2019-10-29 13:53:04 +0100
commite5319a87ce75bbd2dd88f57c3b470a396195e849 (patch)
tree9a454bba8f8fa7ae17d4fc90c9cf0f62cba49e39 /src/libstore/nar-info-disk-cache.hh
parent992a2ad4757f43c02f3d06771c632a408d90ded0 (diff)
queryPathInfoUncached(): Return const ValidPathInfo
Diffstat (limited to 'src/libstore/nar-info-disk-cache.hh')
-rw-r--r--src/libstore/nar-info-disk-cache.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/nar-info-disk-cache.hh b/src/libstore/nar-info-disk-cache.hh
index 88d909732..11e6c55ca 100644
--- a/src/libstore/nar-info-disk-cache.hh
+++ b/src/libstore/nar-info-disk-cache.hh
@@ -21,7 +21,7 @@ public:
virtual void upsertNarInfo(
const std::string & uri, const std::string & hashPart,
- std::shared_ptr<ValidPathInfo> info) = 0;
+ std::shared_ptr<const ValidPathInfo> info) = 0;
};
/* Return a singleton cache object that can be used concurrently by