fixed __gcc_cxx namespace reference scope
tho [Wed, 5 Nov 2008 16:07:47 +0000 (16:07 +0000)]
git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@947 270642c3-0616-0410-b53a-bc976706d245

Packets/PacketRegistry.cti
Packets/PacketRegistry.ih

index 6de3a0c..5687850 100644 (file)
@@ -118,7 +118,7 @@ senf::detail::PacketRegistryImpl<KeyType>::begin()
     const
 {
     return boost::make_transform_iterator(
-        registry_.begin(), __gnu_cxx::select1st<typename PacketMap::value_type>());
+        registry_.begin(), ::__gnu_cxx::select1st<typename PacketMap::value_type>());
 }
 
 template <class KeyType>
@@ -127,13 +127,13 @@ senf::detail::PacketRegistryImpl<KeyType>::end()
     const
 {
     return boost::make_transform_iterator(
-        registry_.end(), __gnu_cxx::select1st<typename PacketMap::value_type>());
+        registry_.end(), ::__gnu_cxx::select1st<typename PacketMap::value_type>());
 }
 
 ///////////////////////////////PacketRegistry..e///////////////////////////////////////
 #undef prefix_
 
-\f
+
 // Local Variables:
 // mode: c++
 // fill-column: 100
index 44198ce..32139e7 100644 (file)
@@ -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 KeyType>
-    class PacketRegistryImpl 
+    class PacketRegistryImpl
         : public PacketRegistryImplBase
     {
     public:
@@ -104,13 +104,13 @@ namespace detail {
         ///////////////////////////////////////////////////////////////////////////
         // Types
 
-        typedef boost::transform_iterator< __gnu_cxx::select1st<typename PacketMap::value_type>,
+        typedef boost::transform_iterator< ::__gnu_cxx::select1st<typename PacketMap::value_type>,
                                            typename PacketMap::const_iterator > iterator;
 
         ///////////////////////////////////////////////////////////////////////////
         ///\name Structors and default members
         ///@{
-        
+
         PacketRegistryImpl(std::string const & name);
 
         ///@}