diff options
author | Rok Garbas <rok@garbas.si> | 2022-02-18 00:15:23 +0100 |
---|---|---|
committer | Rok Garbas <rok@garbas.si> | 2022-02-18 00:15:23 +0100 |
commit | bf435664d747e2a69476697011ec9ec1e6dabc8b (patch) | |
tree | eaf8f6f74dd59950e4a3e12c7e77249ff905eab5 /src/libstore/names.hh | |
parent | 50a9c48db4dddd6ba4c81dae74aa60f8ff10bfe5 (diff) | |
parent | b24d541c34b6c85761c63c19ae847816aecd364b (diff) |
Merge remote-tracking branch 'origin/master' into script-to-make-docker-release
Diffstat (limited to 'src/libstore/names.hh')
-rw-r--r-- | src/libstore/names.hh | 6 |
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); } |