Changeset 1328 for XIOS/dev/branch_openmp/src/group_factory.cpp
- Timestamp:
- 11/15/17 12:14:34 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/branch_openmp/src/group_factory.cpp
r1134 r1328 4 4 { 5 5 /// ////////////////////// Définitions ////////////////////// /// 6 StdString *CGroupFactory::CurrContext_ptr = new StdString;6 StdString CGroupFactory::CurrContext(""); 7 7 8 8 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; 12 11 } 13 12 14 13 StdString & CGroupFactory::GetCurrentContextId(void) 15 14 { 16 return ( *CGroupFactory::CurrContext_ptr);15 return (CGroupFactory::CurrContext); 17 16 } 18 17
Note: See TracChangeset
for help on using the changeset viewer.