1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 14:51:16 +02:00

serialise.hh: Use std::string_view

This commit is contained in:
Eelco Dolstra 2022-01-17 19:28:42 +01:00
parent 008ddef4b0
commit 776eb97a43
4 changed files with 5 additions and 5 deletions

View file

@ -325,7 +325,7 @@ void writeString(std::string_view data, Sink & sink)
}
Sink & operator << (Sink & sink, const string & s)
Sink & operator << (Sink & sink, std::string_view s)
{
writeString(s, sink);
return sink;