Changeset 452 for trunk/lib/Commitment.h


Ignore:
Timestamp:
Aug 17, 2007, 9:03:32 PM (14 years ago)
Author:
Peter Johansson
Message:

fixes #248 and refs #185

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Commitment.h

    r439 r452  
    2525*/
    2626
    27 #include "Date.h"
    28 
    2927#include <string>
    3028
     
    4947       \brief The contructor.
    5048    */
    51     Commitment(std::string author, const Date& date, std::string msg,
     49    Commitment(std::string author, std::string date, std::string msg,
    5250               size_t rev);
    5351
     
    6058       \return Date
    6159    */
    62     inline const Date& date(void) const { return date_; }
     60    inline std::string date(void) const { return date_; }
    6361
    6462    /**
     
    8078
    8179    std::string author_;
    82     Date date_;
     80    std::string date_;
    8381    std::string msg_;
    8482    size_t rev_;
Note: See TracChangeset for help on using the changeset viewer.