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/nar-info-disk-cache.hh | |
parent | 992a2ad4757f43c02f3d06771c632a408d90ded0 (diff) |
queryPathInfoUncached(): Return const ValidPathInfo
Diffstat (limited to 'src/libstore/nar-info-disk-cache.hh')
-rw-r--r-- | src/libstore/nar-info-disk-cache.hh | 2 |
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 |