1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-26 07:31:15 +02:00

forceString(): Accept pos argument

This commit is contained in:
Eelco Dolstra 2014-11-25 10:23:36 +01:00
parent 976b949e4d
commit 4e340a983f
3 changed files with 5 additions and 5 deletions

View file

@ -1257,9 +1257,9 @@ void copyContext(const Value & v, PathSet & context)
}
string EvalState::forceString(Value & v, PathSet & context)
string EvalState::forceString(Value & v, PathSet & context, const Pos & pos)
{
string s = forceString(v);
string s = forceString(v, pos);
copyContext(v, context);
return s;
}