Ignore:
Timestamp:
12/19/18 18:45:46 (5 years ago)
Author:
yushan
Message:

inlining calendar fonctions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_trunk_omp/src/date/allleap.hpp

    r591 r1629  
    2626 
    2727            /// Accesseurs /// 
    28             virtual int getYearTotalLength(const CDate & date) const; 
     28            inline virtual int getYearTotalLength(const CDate & date) const { return (366 * 86400); }; 
    2929            virtual int getMonthLength(const CDate & date) const; 
    30             virtual StdString getType(void) const; 
     30            virtual StdString getType(void) const { return (StdString("all_leap")); }; 
    3131 
    3232            /// Destructeur /// 
    33             virtual ~CAllLeapCalendar(void); 
     33            virtual ~CAllLeapCalendar(void) ; 
    3434 
    3535      }; // class CAllLeapCalendar 
Note: See TracChangeset for help on using the changeset viewer.