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:
parent
13a236ba29
commit
f70b0b599c
3 changed files with 10 additions and 8 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue