aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/names.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/libexpr/names.cc')
-rw-r--r--src/libexpr/names.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/names.cc b/src/libexpr/names.cc
index 6d78d2116..382088c78 100644
--- a/src/libexpr/names.cc
+++ b/src/libexpr/names.cc
@@ -41,7 +41,7 @@ bool DrvName::matches(DrvName & n)
}
-static string nextComponent(string::const_iterator & p,
+string nextComponent(string::const_iterator & p,
const string::const_iterator end)
{
/* Skip any dots and dashes (component separators). */