aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/binary-cache-store.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/binary-cache-store.hh
parent992a2ad4757f43c02f3d06771c632a408d90ded0 (diff)
queryPathInfoUncached(): Return const ValidPathInfo
Diffstat (limited to 'src/libstore/binary-cache-store.hh')
-rw-r--r--src/libstore/binary-cache-store.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/binary-cache-store.hh b/src/libstore/binary-cache-store.hh
index c77292294..2d7cd1947 100644
--- a/src/libstore/binary-cache-store.hh
+++ b/src/libstore/binary-cache-store.hh
@@ -74,7 +74,7 @@ public:
bool isValidPathUncached(const Path & path) override;
void queryPathInfoUncached(const Path & path,
- Callback<std::shared_ptr<ValidPathInfo>> callback) noexcept override;
+ Callback<std::shared_ptr<const ValidPathInfo>> callback) noexcept override;
Path queryPathFromHashPart(const string & hashPart) override
{ unsupported("queryPathFromHashPart"); }