diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2018-09-25 18:54:16 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2019-10-29 13:53:04 +0100 |
commit | e5319a87ce75bbd2dd88f57c3b470a396195e849 (patch) | |
tree | 9a454bba8f8fa7ae17d4fc90c9cf0f62cba49e39 /src/libstore/binary-cache-store.hh | |
parent | 992a2ad4757f43c02f3d06771c632a408d90ded0 (diff) |
queryPathInfoUncached(): Return const ValidPathInfo
Diffstat (limited to 'src/libstore/binary-cache-store.hh')
-rw-r--r-- | src/libstore/binary-cache-store.hh | 2 |
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"); } |