Removed ExpReal::evaluate().Its signature does not match the one meant to be overridden.

This commit is contained in:
Maciej Suminski 2014-08-07 09:48:35 +02:00
parent c846b2cf3f
commit b1d15436fd
2 changed files with 0 additions and 7 deletions

View File

@ -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)
{ {

View File

@ -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;