Removed ExpReal::evaluate().Its signature does not match the one meant to be overridden.
This commit is contained in:
parent
c846b2cf3f
commit
b1d15436fd
|
|
@ -307,12 +307,6 @@ ExpReal::~ExpReal()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
bool ExpReal::evaluate(ScopeBase*, double&val) const
|
|
||||||
{
|
|
||||||
val = value_;
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
ExpLogical::ExpLogical(ExpLogical::fun_t ty, Expression*op1, Expression*op2)
|
ExpLogical::ExpLogical(ExpLogical::fun_t ty, Expression*op1, Expression*op2)
|
||||||
: ExpBinary(op1, op2), fun_(ty)
|
: ExpBinary(op1, op2), fun_(ty)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -519,7 +519,6 @@ class ExpReal : public Expression {
|
||||||
int emit(ostream&out, Entity*ent, Architecture*arc);
|
int emit(ostream&out, Entity*ent, Architecture*arc);
|
||||||
int emit_package(std::ostream&out);
|
int emit_package(std::ostream&out);
|
||||||
bool is_primary(void) const;
|
bool is_primary(void) const;
|
||||||
bool evaluate(ScopeBase*scope, double&val) const;
|
|
||||||
void dump(ostream&out, int indent = 0) const;
|
void dump(ostream&out, int indent = 0) const;
|
||||||
virtual ostream& dump_inline(ostream&out) const;
|
virtual ostream& dump_inline(ostream&out) const;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue