Ignore:
Timestamp:
02/18/15 10:13:41 (9 years ago)
Author:
rlacroix
Message:

CCalendar: Make getCurrentDate and update methods return a const reference.

The current date should only be modified by the update method.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/trunk/src/calendar.hpp

    r550 r561  
    5757 
    5858            /// Traitemants /// 
    59             CDate& update(int step); 
     59            const CDate& update(int step); 
    6060 
    6161            /// Accesseurs /// 
     
    6363            const CDate& getInitDate(void) const; 
    6464            const CDate& getTimeOrigin(void) const; 
    65             CDate& getCurrentDate(void); 
     65            const CDate& getCurrentDate(void) const; 
    6666 
    6767         public : 
Note: See TracChangeset for help on using the changeset viewer.