gigasecond: iteration 2, typo fix
This commit is contained in:
parent
7883503508
commit
1baf38d8bc
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ namespace gigasecond {
|
||||||
typedef boost::gregorian::date date_t;
|
typedef boost::gregorian::date date_t;
|
||||||
typedef boost::gregorian::date_duration date_duration_t;
|
typedef boost::gregorian::date_duration date_duration_t;
|
||||||
|
|
||||||
static inline date_t advance(date_t date)
|
static inline date_t advance(const date_t &date)
|
||||||
{
|
{
|
||||||
return date + date_duration_t(1000000000 / (60*60*24));
|
return date + date_duration_t(1000000000 / (60*60*24));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue