aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/local-store.cc
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/local-store.cc
parent992a2ad4757f43c02f3d06771c632a408d90ded0 (diff)
queryPathInfoUncached(): Return const ValidPathInfo
Diffstat (limited to 'src/libstore/local-store.cc')
-rw-r--r--src/libstore/local-store.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/local-store.cc b/src/libstore/local-store.cc
index 49061f27d..6bbe5433c 100644
--- a/src/libstore/local-store.cc
+++ b/src/libstore/local-store.cc
@@ -632,7 +632,7 @@ uint64_t LocalStore::addValidPath(State & state,
void LocalStore::queryPathInfoUncached(const Path & path,
- Callback<std::shared_ptr<ValidPathInfo>> callback) noexcept
+ Callback<std::shared_ptr<const ValidPathInfo>> callback) noexcept
{
try {
auto info = std::make_shared<ValidPathInfo>();