1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-21 01:39:36 +01:00

libexpr: allocate ExprPath strings in the allocator

This commit is contained in:
Taeer Bar-Yam 2025-09-28 11:02:54 -04:00
parent 13a236ba29
commit f70b0b599c
3 changed files with 10 additions and 8 deletions

View file

@ -45,7 +45,7 @@ void ExprString::show(const SymbolTable & symbols, std::ostream & str) const
void ExprPath::show(const SymbolTable & symbols, std::ostream & str) const
{
str << s;
str << v.pathStr();
}
void ExprVar::show(const SymbolTable & symbols, std::ostream & str) const