Make the ligature_node operators compile with GCC 2.95.2.
Thanks to Assar for assistance.
This commit is contained in:
parent
b65d3e93c9
commit
9b2c5720e8
|
@ -1481,7 +1481,7 @@ void *glyph_node::operator new(size_t n)
|
|||
|
||||
void *ligature_node::operator new(size_t n)
|
||||
{
|
||||
return new char[n];
|
||||
return ::operator new(n);
|
||||
}
|
||||
|
||||
void glyph_node::operator delete(void *p)
|
||||
|
@ -1494,7 +1494,7 @@ void glyph_node::operator delete(void *p)
|
|||
|
||||
void ligature_node::operator delete(void *p)
|
||||
{
|
||||
delete p;
|
||||
::operator delete(p);
|
||||
}
|
||||
|
||||
glyph_node::glyph_node(charinfo *c, tfont *t, node *x)
|
||||
|
|
Loading…
Reference in New Issue