Changeset 1542 for XIOS/trunk/src/node/context.cpp
- Timestamp:
- 06/13/18 16:48:53 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/node/context.cpp
r1489 r1542 23 23 namespace xios { 24 24 25 s hared_ptr<CContextGroup> CContext::root;25 std::shared_ptr<CContextGroup> CContext::root; 26 26 27 27 /// ////////////////////// Définitions ////////////////////// /// … … 66 66 CContextGroup* CContext::getRoot(void) 67 67 { 68 if (root.get()==NULL) root=s hared_ptr<CContextGroup>(new CContextGroup(xml::CXMLNode::GetRootName()));68 if (root.get()==NULL) root=std::shared_ptr<CContextGroup>(new CContextGroup(xml::CXMLNode::GetRootName())); 69 69 return root.get(); 70 70 } … … 76 76 \return Calendar 77 77 */ 78 boost::shared_ptr<CCalendar> CContext::getCalendar(void) const78 std::shared_ptr<CCalendar> CContext::getCalendar(void) const 79 79 { 80 80 return (this->calendar); … … 87 87 \param[in] newCalendar new calendar 88 88 */ 89 void CContext::setCalendar( boost::shared_ptr<CCalendar> newCalendar)89 void CContext::setCalendar(std::shared_ptr<CCalendar> newCalendar) 90 90 { 91 91 this->calendar = newCalendar; … … 1414 1414 idServer_ = this->getId(); 1415 1415 idServer_ += "_server_"; 1416 idServer_ += boost::lexical_cast<string>(i);1416 idServer_ += std::to_string(static_cast<unsigned long long>(i)); 1417 1417 return idServer_; 1418 1418 }
Note: See TracChangeset
for help on using the changeset viewer.