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.hh6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstore/names.hh b/src/libstore/names.hh
index 3f861bc44..6f01fe2a1 100644
--- a/src/libstore/names.hh
+++ b/src/libstore/names.hh
@@ -27,9 +27,9 @@ private:
typedef list<DrvName> DrvNames;
-string nextComponent(string::const_iterator & p,
- const string::const_iterator end);
-int compareVersions(const string & v1, const string & v2);
+std::string_view nextComponent(std::string_view::const_iterator & p,
+ const std::string_view::const_iterator end);
+int compareVersions(const std::string_view v1, const std::string_view v2);
DrvNames drvNamesFromArgs(const Strings & opArgs);
}