Changeset 1089 for XIOS/dev/branch_yushan/src/node
- Timestamp:
- 04/12/17 16:02:29 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/branch_yushan/src/node/axis.cpp
r1088 r1089 45 45 46 46 //std::map<StdString, ETranformationType> CAxis::transformationMapList_ = std::map<StdString, ETranformationType>(); 47 std::map<StdString, ETranformationType> *CAxis::transformationMapList_ptr = new std::map<StdString, ETranformationType>;47 std::map<StdString, ETranformationType> *CAxis::transformationMapList_ptr = 0; 48 48 bool CAxis::dummyTransformationMapList_ = CAxis::initializeTransformationMap(*CAxis::transformationMapList_ptr); 49 49 bool CAxis::initializeTransformationMap(std::map<StdString, ETranformationType>& m) … … 1005 1005 1006 1006 nodeElementName = node.getElementName(); 1007 std::map<StdString, ETranformationType>::const_iterator ite = transformationMapList_ptr->end(), it; 1007 if(transformationMapList_ptr == NULL) transformationMapList_ptr = new std::map<StdString, ETranformationType>; 1008 1009 std::map<StdString, ETranformationType>::const_iterator ite = (*transformationMapList_ptr).end(), it; 1008 1010 it = transformationMapList_ptr->find(nodeElementName); 1009 1011 if (ite != it)
Note: See TracChangeset
for help on using the changeset viewer.