Ignore:
Timestamp:
11/15/17 12:14:34 (6 years ago)
Author:
yushan
Message:

dev_omp

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/branch_openmp/src/group_factory.cpp

    r1134 r1328  
    44{ 
    55   /// ////////////////////// Définitions ////////////////////// /// 
    6    StdString *CGroupFactory::CurrContext_ptr = new StdString; 
     6   StdString CGroupFactory::CurrContext(""); 
    77 
    88   void CGroupFactory::SetCurrentContextId(const StdString & context) 
    9    {   
    10       if(CGroupFactory::CurrContext_ptr == NULL ) CGroupFactory::CurrContext_ptr = new StdString;  
    11       CGroupFactory::CurrContext_ptr->assign(context); 
     9   {  
     10      CGroupFactory::CurrContext = context; 
    1211   } 
    1312 
    1413   StdString & CGroupFactory::GetCurrentContextId(void) 
    1514   {  
    16       return (*CGroupFactory::CurrContext_ptr); 
     15      return (CGroupFactory::CurrContext); 
    1716   } 
    1817 
Note: See TracChangeset for help on using the changeset viewer.