Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/gnu/usr.bin/groff/troff Make the ligature_node operators com...



details:   https://anonhg.NetBSD.org/src/rev/c2aa5f14f645
branches:  trunk
changeset: 495190:c2aa5f14f645
user:      mycroft <mycroft%NetBSD.org@localhost>
date:      Mon Jul 24 02:24:43 2000 +0000

description:
Make the ligature_node operators compile with GCC 2.95.2.
Thanks to Assar for assistance.

diffstat:

 gnu/usr.bin/groff/troff/node.cc |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 16587c06c587 -r c2aa5f14f645 gnu/usr.bin/groff/troff/node.cc
--- a/gnu/usr.bin/groff/troff/node.cc   Mon Jul 24 02:00:39 2000 +0000
+++ b/gnu/usr.bin/groff/troff/node.cc   Mon Jul 24 02:24:43 2000 +0000
@@ -1481,7 +1481,7 @@
 
 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 ligature_node::operator delete(void *p)
 {
-  delete p;
+  ::operator delete(p);
 }
 
 glyph_node::glyph_node(charinfo *c, tfont *t, node *x)



Home | Main Index | Thread Index | Old Index