Bugfix: wrong interpreter called due to invalid overriding (#4008)
This commit is contained in:
@@ -1102,7 +1102,7 @@ public:
|
||||
sprintf (buffer, "%d", a);
|
||||
return buffer;
|
||||
}
|
||||
virtual double toDouble (Tag* t, int ofs)
|
||||
virtual double toDouble (const Tag* t, int ofs)
|
||||
{
|
||||
int a = Interpreter::toInt (t, ofs);
|
||||
|
||||
@@ -1113,7 +1113,7 @@ public:
|
||||
return 0.;
|
||||
}
|
||||
}
|
||||
virtual int toInt (Tag* t, int ofs, TagType astype)
|
||||
virtual int toInt (const Tag* t, int ofs, TagType astype)
|
||||
{
|
||||
int a = Interpreter::toInt (t, ofs, astype);
|
||||
|
||||
|
Reference in New Issue
Block a user