diff options
author | Alan Conway <aconway@apache.org> | 2008-06-02 16:10:21 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2008-06-02 16:10:21 +0000 |
commit | 56bd6c320f683584032f2edc47302068a0a3324a (patch) | |
tree | 450fd1aa86d544361f641a9addc1b82d17088b87 /qpid/cpp/src | |
parent | f72b278bcee746b01bc8334a0bd3775817db3162 (diff) | |
download | qpid-python-56bd6c320f683584032f2edc47302068a0a3324a.tar.gz |
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@662472 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src')
-rw-r--r-- | qpid/cpp/src/qpid/ptr_map.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/qpid/cpp/src/qpid/ptr_map.h b/qpid/cpp/src/qpid/ptr_map.h index f34c3271b3..92da79a2e5 100644 --- a/qpid/cpp/src/qpid/ptr_map.h +++ b/qpid/cpp/src/qpid/ptr_map.h @@ -25,7 +25,6 @@ #include <boost/ptr_container/ptr_map.hpp> #include <boost/utility/enable_if.hpp> #include <boost/type_traits/is_same.hpp> -#include <boost/type_traits/remove_const.hpp> namespace qpid { @@ -50,10 +49,7 @@ typename boost::enable_if<IsOldPtrMap, typename Iter::value_type*>::type ptr_map_ptr(const Iter& i) { return &*i; } template <class Iter> -struct PtrMapValueType : public boost::remove_const<typename Iter::value_type::second_type> {}; - -template <class Iter> -typename boost::disable_if<IsOldPtrMap, typename PtrMapValueType<Iter>::type >::type +typename boost::disable_if<IsOldPtrMap, typename Iter::value_type::second_type>::type ptr_map_ptr(const Iter& i) { return i->second; } } // namespace qpid |