From 44ab1ba28fac6e0899c5d9ce24312b77320dd743 Mon Sep 17 00:00:00 2001 From: Alex Rousskov Date: Sun, 20 Feb 2011 22:06:20 -0700 Subject: [PATCH] Allow constant pointers to non-constant HttpMsgs. --- src/HttpMsg.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/HttpMsg.h b/src/HttpMsg.h index 25e8928117..12b8c7484e 100644 --- a/src/HttpMsg.h +++ b/src/HttpMsg.h @@ -220,8 +220,7 @@ public: const Msg &operator *() const { return *msg; } Msg *operator ->() { return msg; } const Msg *operator ->() const { return msg; } - operator Msg *() { return msg; } - operator const Msg *() const { return msg; } + operator Msg *() const { return msg; } // add more as needed /// public access for HttpMsgPointerT copying and assignment; avoid -- 2.47.3