mirror of
https://github.com/NixOS/nix
synced 2025-06-27 12:41:15 +02:00
No point in passing string_views by reference
This commit is contained in:
parent
5ef88457b8
commit
402ee8ab64
5 changed files with 24 additions and 24 deletions
|
@ -85,7 +85,7 @@ class ExternalValueBase
|
|||
/* Coerce the value to a string. Defaults to uncoercable, i.e. throws an
|
||||
* error.
|
||||
*/
|
||||
virtual std::string coerceToString(const Pos & pos, PathSet & context, bool copyMore, bool copyToStore, const std::string_view & errorCtx) const;
|
||||
virtual std::string coerceToString(const Pos & pos, PathSet & context, bool copyMore, bool copyToStore, std::string_view errorCtx) const;
|
||||
|
||||
/* Compare to another value of the same type. Defaults to uncomparable,
|
||||
* i.e. always false.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue