Changeset 2124


Ignore:
Timestamp:
04/08/21 09:28:44 (14 months ago)
Author:
ymipsl
Message:

Fix bad suffix context in generated object id
YM

Location:
XIOS/dev/dev_ym/XIOS_COUPLING/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_ym/XIOS_COUPLING/src/node/context.cpp

    r2123 r2124  
    739739  { 
    740740    bool  finished;  
     741    setCurrent(getId()) ; 
     742 
    741743    if (client!=nullptr && !finalized) client->checkBuffers(); 
    742744     
     
    760762     
    761763    if (server!=nullptr) if (!finalized) finished &= server->eventLoop(enableEventsProcessing); 
     764    setCurrent(getId()) ; 
    762765    return finalized && finished ; 
    763766  } 
  • XIOS/dev/dev_ym/XIOS_COUPLING/src/object_factory_impl.hpp

    r1992 r2124  
    149149   const StdString& CObjectFactory::GetUIdBase(void) 
    150150   { 
    151       static const StdString base = "__"+CObjectFactory::CurrContext + "::" + U::GetName() + "_undef_id_"; 
     151      static StdString base ;  
     152      base = "__"+CObjectFactory::CurrContext + "::" + U::GetName() + "_undef_id_"; 
    152153      return base; 
    153154   } 
Note: See TracChangeset for help on using the changeset viewer.