aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/names.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libexpr/names.hh')
-rw-r--r--src/libexpr/names.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/names.hh b/src/libexpr/names.hh
index 13c3093e7..00e14b8c7 100644
--- a/src/libexpr/names.hh
+++ b/src/libexpr/names.hh
@@ -15,7 +15,7 @@ struct DrvName
unsigned int hits;
DrvName();
- DrvName(const string & s);
+ DrvName(std::string_view s);
bool matches(DrvName & n);
private: