Whitespace fix.
This commit is contained in:
parent
db52ad86d5
commit
de816e8307
2 changed files with 5 additions and 3 deletions
|
|
@ -262,7 +262,9 @@ void account_t::calculate_sums(expr_t& amount_expr,
|
|||
|
||||
bind_scope_t bound_scope(scope, *this);
|
||||
call_scope_t args(bound_scope);
|
||||
|
||||
value_t amount(amount_expr.calc(args));
|
||||
|
||||
if (! amount.is_null()) {
|
||||
add_or_set_value(xd.total, amount);
|
||||
xd.total_count += xd.count;
|
||||
|
|
|
|||
|
|
@ -128,13 +128,13 @@ public:
|
|||
bool is_constant() const;
|
||||
bool is_function() const;
|
||||
|
||||
value_t& constant_value();
|
||||
value_t& constant_value();
|
||||
const value_t& constant_value() const;
|
||||
|
||||
function_t& get_function();
|
||||
|
||||
void print(std::ostream& out) const;
|
||||
void dump(std::ostream& out) const;
|
||||
void print(std::ostream& out) const;
|
||||
void dump(std::ostream& out) const;
|
||||
|
||||
static value_t eval(const string& _expr, scope_t& scope);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue