Changeset 86:079ceca70ea4 in rrlib_logging


Ignore:
Timestamp:
26.01.2012 15:18:03 (8 years ago)
Author:
Tobias Föhst <foehst@…>
Branch:
default
Phase:
public
Transplant:
40461bd0aeb579af6d4825b8ad7290290f7a8e6b
Message:

Making use of longevity policy for singletons to satisfy valgrind. Every instance depending on tDomainRegistry should use this policy, too.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configuration/tDomainRegistry.h

    r76 r86  
    215215}; 
    216216 
    217 typedef util::tSingletonHolder<tDomainRegistryImplementation, util::singleton::NoDestruction> tDomainRegistry; 
     217typedef util::tSingletonHolder<tDomainRegistryImplementation, util::singleton::Longevity> tDomainRegistry; 
     218inline unsigned int GetLongevity(tDomainRegistryImplementation *) 
     219{ 
     220  return 0xFFFFFFFF; 
     221} 
    218222 
    219223//---------------------------------------------------------------------- 
Note: See TracChangeset for help on using the changeset viewer.