mirror of
https://github.com/NixOS/nix.git
synced 2025-11-09 12:06:01 +01:00
Expr: remove redundant int and float fields
This commit is contained in:
parent
3720e811fa
commit
bf8deb4991
2 changed files with 4 additions and 6 deletions
|
|
@ -76,12 +76,12 @@ void Expr::show(const SymbolTable & symbols, std::ostream & str) const
|
|||
|
||||
void ExprInt::show(const SymbolTable & symbols, std::ostream & str) const
|
||||
{
|
||||
str << n;
|
||||
str << v.integer;
|
||||
}
|
||||
|
||||
void ExprFloat::show(const SymbolTable & symbols, std::ostream & str) const
|
||||
{
|
||||
str << nf;
|
||||
str << v.fpoint;
|
||||
}
|
||||
|
||||
void ExprString::show(const SymbolTable & symbols, std::ostream & str) const
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue