From fd7b48b9cbef6c77e2ad17c68b8d533bf264bf71 Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Wed, 1 Jun 2011 20:56:17 +1200 Subject: [PATCH] Audit fallout: MemPool the Comm::Connection class --- src/comm/Connection.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/comm/Connection.h b/src/comm/Connection.h index 7bf2dcf49f..42519ad0bb 100644 --- a/src/comm/Connection.h +++ b/src/comm/Connection.h @@ -41,6 +41,7 @@ #include "comm/forward.h" #include "hier_code.h" #include "ip/Address.h" +#include "MemPool.h" #include "RefCount.h" #include "typedefs.h" #if USE_SQUID_EUI @@ -88,6 +89,8 @@ namespace Comm { class Connection : public RefCountable { public: + MEMPROXY_CLASS(Comm::Connection); + Connection(); /** Clear the connection properties and close any open socket. */ @@ -160,6 +163,8 @@ private: peer *_peer; }; +MEMPROXY_CLASS_INLINE(Connection); + }; // namespace Comm -- 2.47.2