1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-06 09:11:47 +02:00

Use BackedStringView

This commit is contained in:
Eelco Dolstra 2024-01-18 15:27:57 +01:00
parent a3cf27ca47
commit 1fe8f54bd3
2 changed files with 2 additions and 2 deletions

View file

@ -153,7 +153,7 @@ struct FdSource : BufferedSource
{
int fd;
size_t read = 0;
std::string endOfFileError{"unexpected end-of-file"};
BackedStringView endOfFileError{"unexpected end-of-file"};
FdSource() : fd(-1) { }
FdSource(int fd) : fd(fd) { }