Bugfix: wrong interpreter called due to invalid overriding (#4008)
This commit is contained in:
@@ -55,7 +55,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 = t->getValue()[ofs];
|
||||
|
||||
@@ -66,7 +66,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 = t->getValue()[ofs];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user