Changeset 3705 for source/ariba/utility


Ignore:
Timestamp:
May 26, 2009, 4:27:55 PM (16 years ago)
Author:
Christoph Mayer
Message:

-einige fixed bzgl. link management, fehlerhafte serialisierer, etc.

Location:
source/ariba/utility
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/utility/misc/Demultiplexer.hpp

    r3690 r3705  
    8080                        LISTENER_SERVICE_MAP_CITERATOR i = mapListenerService.begin();
    8181                        LISTENER_SERVICE_MAP_CITERATOR iend = mapListenerService.end();
    82                        
     82
    8383                        for( ; i != iend; i++ )
    8484                                cout << "xxx" << i->first.toString() << " -> " << i->second << std::endl;
     
    8888                        SERVICE_LISTENER_MAP_CITERATOR i = mapServiceListener.begin();
    8989                        SERVICE_LISTENER_MAP_CITERATOR iend = mapServiceListener.end();
    90                        
     90
    9191                        for( ; i != iend; i++ )
    9292                                cout << "xxx" << i->first << " -> " << i->second.toString() << std::endl;
     
    112112        void unregisterItem( S id ) {
    113113                T listener = get( id );
    114                
     114
    115115                {
    116116                        boost::mutex::scoped_lock lock( mapMutex );
  • source/ariba/utility/types/Identifier.cpp

    r3690 r3705  
    319319}
    320320bool Identifier::operator==(const Identifier& compKey) const {
    321         return compareTo(compKey) == 0;
     321
     322        if( this->isUnspecified() && compKey.isUnspecified() )
     323                return true;
     324        else
     325                return compareTo(compKey) == 0;
    322326}
    323327bool Identifier::operator!=(const Identifier& compKey) const {
     
    599603        //as mpn_random has no seeding function
    600604        // we mess aroung here a little to achive some randomness
    601         // using the rand function that _is_ seeded in the 
     605        // using the rand function that _is_ seeded in the
    602606        // StartupWrapper::initSystem function
    603607
Note: See TracChangeset for help on using the changeset viewer.