aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/names.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstore/names.hh')
-rw-r--r--src/libstore/names.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/names.hh b/src/libstore/names.hh
index bc62aac93..3f861bc44 100644
--- a/src/libstore/names.hh
+++ b/src/libstore/names.hh
@@ -19,7 +19,7 @@ struct DrvName
DrvName(std::string_view s);
~DrvName();
- bool matches(DrvName & n);
+ bool matches(const DrvName & n);
private:
std::unique_ptr<Regex> regex;