Ignore:
Timestamp:
Aug 3, 2009, 2:29:12 PM (15 years ago)
Author:
Christoph Mayer
Message:

maemo segfault wegen static object ctors workaround

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/ariba/communication/BaseCommunication.cpp

    r5618 r5624  
    244244        } else {
    245245                LinkDescriptor& linkDesc = queryLocalLink(link);
    246                 if (linkDesc.isUnspecified()) return EndpointDescriptor::UNSPECIFIED;
     246                if (linkDesc.isUnspecified()) return EndpointDescriptor::UNSPECIFIED();
    247247                return linkDesc.remoteEndpoint;
    248248        }
     
    534534                if (linkSet[i]->localLink == link) return (LinkDescriptor&)*linkSet[i];
    535535
    536         LinkDescriptor ret;
    537         ret.unspecified = true;
    538         return ret;
     536        return LinkDescriptor::UNSPECIFIED();
    539537}
    540538
     
    544542                if (linkSet[i]->remoteLink == link) return (LinkDescriptor&)*linkSet[i];
    545543
    546         LinkDescriptor ret;
    547         ret.unspecified = true;
    548         return ret;
     544        return LinkDescriptor::UNSPECIFIED();
    549545}
    550546
Note: See TracChangeset for help on using the changeset viewer.