From 9b2c5720e81fe1e8f3085c3df507009248016b39 Mon Sep 17 00:00:00 2001 From: mycroft Date: Mon, 24 Jul 2000 02:24:43 +0000 Subject: [PATCH] Make the ligature_node operators compile with GCC 2.95.2. Thanks to Assar for assistance. --- gnu/usr.bin/groff/troff/node.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/usr.bin/groff/troff/node.cc b/gnu/usr.bin/groff/troff/node.cc index da500764de4d..60c1b724f6e8 100644 --- a/gnu/usr.bin/groff/troff/node.cc +++ b/gnu/usr.bin/groff/troff/node.cc @@ -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)