From: tho Date: Wed, 5 Nov 2008 16:07:47 +0000 (+0000) Subject: fixed __gcc_cxx namespace reference scope X-Git-Url: http://g0dil.de/git?a=commitdiff_plain;h=2f2f9f42fede8fa1b613a0ed1cadf9491b2c5c2e;p=senf.git fixed __gcc_cxx namespace reference scope git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@947 270642c3-0616-0410-b53a-bc976706d245 --- diff --git a/Packets/PacketRegistry.cti b/Packets/PacketRegistry.cti index 6de3a0c..5687850 100644 --- a/Packets/PacketRegistry.cti +++ b/Packets/PacketRegistry.cti @@ -118,7 +118,7 @@ senf::detail::PacketRegistryImpl::begin() const { return boost::make_transform_iterator( - registry_.begin(), __gnu_cxx::select1st()); + registry_.begin(), ::__gnu_cxx::select1st()); } template @@ -127,13 +127,13 @@ senf::detail::PacketRegistryImpl::end() const { return boost::make_transform_iterator( - registry_.end(), __gnu_cxx::select1st()); + registry_.end(), ::__gnu_cxx::select1st()); } ///////////////////////////////PacketRegistry..e/////////////////////////////////////// #undef prefix_ - + // Local Variables: // mode: c++ // fill-column: 100 diff --git a/Packets/PacketRegistry.ih b/Packets/PacketRegistry.ih index 44198ce..32139e7 100644 --- a/Packets/PacketRegistry.ih +++ b/Packets/PacketRegistry.ih @@ -40,7 +40,7 @@ namespace senf { Value returned by a registry lookup */ - struct PkReg_Entry + struct PkReg_Entry : public intrusive_refcount { virtual ~PkReg_Entry(); @@ -50,7 +50,7 @@ namespace senf { }; namespace detail { - + /** \brief Internal: Registry entry implementation for a specific packet type \internal @@ -64,7 +64,7 @@ namespace detail { }; /** \brief Internal: Registry implementation base-class and registry of registries - + \internal */ class PacketRegistryImplBase @@ -88,7 +88,7 @@ namespace detail { \internal */ template - class PacketRegistryImpl + class PacketRegistryImpl : public PacketRegistryImplBase { public: @@ -104,13 +104,13 @@ namespace detail { /////////////////////////////////////////////////////////////////////////// // Types - typedef boost::transform_iterator< __gnu_cxx::select1st, + typedef boost::transform_iterator< ::__gnu_cxx::select1st, typename PacketMap::const_iterator > iterator; /////////////////////////////////////////////////////////////////////////// ///\name Structors and default members ///@{ - + PacketRegistryImpl(std::string const & name); ///@}