Changeset 1545 for XIOS/dev/branch_openmp/src/node/calendar_wrapper.cpp
- Timestamp:
- 06/18/18 20:32:55 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/branch_openmp/src/node/calendar_wrapper.cpp
r550 r1545 32 32 \return the calendar 33 33 */ 34 boost::shared_ptr<CCalendar> CCalendarWrapper::getCalendar(bool checkValid /*= false*/) const34 std::shared_ptr<CCalendar> CCalendarWrapper::getCalendar(bool checkValid /*= false*/) const 35 35 { 36 36 if (checkValid && !this->calendar) … … 92 92 #define DECLARE_CALENDAR(MType, eType) \ 93 93 if (type.getValue() == type_attr::eType) \ 94 calendar = boost::shared_ptr<CCalendar>(new C##MType##Calendar());94 calendar = std::shared_ptr<CCalendar>(new C##MType##Calendar()); 95 95 #include "calendar_type.conf" 96 96 #undef DECLARE_CALENDAR … … 111 111 << "Both leap_year_drift and leap_year_month attributes are mandatory if you wish to use leap_year_drift_offset attribute."); 112 112 113 boost::shared_ptr<CUserDefinedCalendar> userDefinedCalendar;113 std::shared_ptr<CUserDefinedCalendar> userDefinedCalendar; 114 114 if (year_length.isEmpty()) 115 115 userDefinedCalendar.reset(new CUserDefinedCalendar(day_length.getValue(), month_lengths.getValue()));
Note: See TracChangeset
for help on using the changeset viewer.