From a1083e7079325f869a509c60cca5eb60f9f41899 Mon Sep 17 00:00:00 2001 From: Alex Rousskov Date: Tue, 31 Aug 2010 17:37:04 -0600 Subject: [PATCH] Made the HttpMsgPointerT::lock() and unlock() methods protected It would be difficult for the caller to use them correctly, and it is probably not necessary for the caller to use them at all. --- src/HttpMsg.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/HttpMsg.h b/src/HttpMsg.h index f8d90f8817..fc0242ce22 100644 --- a/src/HttpMsg.h +++ b/src/HttpMsg.h @@ -189,6 +189,7 @@ public: operator const Msg *() const { return msg; } // add more as needed +protected: void lock() { if (msg) HTTPMSGLOCK(msg); } ///< prevent msg destruction void unlock() { HTTPMSGUNLOCK(msg); } ///< allows/causes msg destruction -- 2.47.2