--- a/src/newgrf_text.cpp Sun Jan 14 13:09:17 2007 +0000
+++ b/src/newgrf_text.cpp Sun Jan 14 13:21:02 2007 +0000
@@ -149,6 +149,15 @@
return ::operator new(size + extra);
}
+public:
+ /* dummy operator delete to silence VC8:
+ * 'void *GRFText::operator new(size_t,size_t)' : no matching operator delete found;
+ * memory will not be freed if initialization throws an exception */
+ void operator delete(void *p, size_t extra)
+ {
+ return ::operator delete(p);
+ }
+
public:
GRFText *next;
byte langid;