From c3255209803ef77d64a2c94eb33d7e91559c827f Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Mon, 2 Jun 2008 16:10:21 +0000 Subject: Backed out previous fix compiler for warning, it fails with boost 1.33. Will seek a fix that works for all versions. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@662472 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/ptr_map.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/cpp/src/qpid/ptr_map.h b/cpp/src/qpid/ptr_map.h index f34c3271b3..92da79a2e5 100644 --- a/cpp/src/qpid/ptr_map.h +++ b/cpp/src/qpid/ptr_map.h @@ -25,7 +25,6 @@ #include #include #include -#include namespace qpid { @@ -50,10 +49,7 @@ typename boost::enable_if::type ptr_map_ptr(const Iter& i) { return &*i; } template -struct PtrMapValueType : public boost::remove_const {}; - -template -typename boost::disable_if::type >::type +typename boost::disable_if::type ptr_map_ptr(const Iter& i) { return i->second; } } // namespace qpid -- cgit v1.2.1