From: hno <> Date: Sun, 6 Jul 2003 19:43:40 +0000 (+0000) Subject: class DeferredRead is not a cbdata enabled class. Don't attempt to define X-Git-Tag: SQUID_3_0_PRE1~71 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7e99adead97ec47d9a7fae5b2f44819cd3045ce8;p=thirdparty%2Fsquid.git class DeferredRead is not a cbdata enabled class. Don't attempt to define the cbdata glue as this confuses GCC when optimization is not enabled --- diff --git a/src/CommRead.h b/src/CommRead.h index c187afaf1b..bf0d632242 100644 --- a/src/CommRead.h +++ b/src/CommRead.h @@ -1,6 +1,6 @@ /* - * $Id: CommRead.h,v 1.3 2003/06/23 12:03:07 robertc Exp $ + * $Id: CommRead.h,v 1.4 2003/07/06 13:43:40 hno Exp $ * * DEBUG: section 5 Comms * AUTHOR: Robert Collins @@ -134,8 +134,6 @@ class DeferredRead public: typedef void DeferrableRead(void *context, CommRead const &); - void * operator new(size_t); - void operator delete (void *); DeferredRead (); DeferredRead (DeferrableRead *, void *, CommRead const &); void markCancelled(); @@ -145,7 +143,6 @@ public: bool cancelled; private: - CBDATA_CLASS(DeferredRead); }; class DeferredReadManager