Ignore:
Timestamp:
11/25/21 18:25:19 (3 years ago)
Author:
ymipsl
Message:

tracking memory leak : remove context and all related object from object factory when context is finalized.
YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_ym/XIOS_COUPLING/src/object_factory_decl_macro.hpp

    r2130 r2265  
    1414  template std::shared_ptr<U> CObjectFactory::CreateObject<U>(const StdString& id ); \ 
    1515  template std::shared_ptr<U> CObjectFactory::CreateAlias<U>(const StdString& id, const StdString& alias ); \ 
    16   template const StdString& CObjectFactory::GetUIdBase<U>(void); \ 
     16  template const StdString CObjectFactory::GetUIdBase<U>(void); \ 
    1717  template StdString CObjectFactory::GenUId<U>(void); \ 
    18   template bool CObjectFactory::IsGenUId<U>(const StdString& id); 
     18  template bool CObjectFactory::IsGenUId<U>(const StdString& id);\ 
     19  template void CObjectFactory::deleteContext<U>(const StdString & context) ;\ 
     20  template void CObjectFactory::deleteAllContexts<U>() ;\ 
     21  template void CObjectFactory::dumpObjects<U>(void) ; 
    1922 
    2023 
    2124 
     25 
Note: See TracChangeset for help on using the changeset viewer.