Bug Fix - #404 Compile error on current archlinux

- Applied patch sent by Johannes Schlatow to fix build on Arch Linux.
This commit is contained in:
Paul Beckingham 2010-05-09 18:30:12 -04:00
parent 38d82f6564
commit 89267846ca
3 changed files with 4 additions and 1 deletions

View file

@ -21,6 +21,7 @@ The following submitted code, packages or analysis, and deserve special thanks:
Pietro Cerutti Pietro Cerutti
Alexander Neumann Alexander Neumann
Emil Sköldberg Emil Sköldberg
Johannes Schlatow
Thanks to the following, who submitted detailed bug reports and excellent suggestions: Thanks to the following, who submitted detailed bug reports and excellent suggestions:
Eugene Kramer Eugene Kramer

View file

@ -12,6 +12,8 @@
annotations. annotations.
+ Deleting a task no longer clobbers any recorded end date (thanks to + Deleting a task no longer clobbers any recorded end date (thanks to
Seneca Cunningham). Seneca Cunningham).
+ Fixed bug #402 which failed compilation on Arch Linux (thanks to
Johannes Schlatow).
------ old releases ------------------------------ ------ old releases ------------------------------

View file

@ -792,7 +792,7 @@ bool Date::sameYear (const Date& rhs)
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
Date Date::operator+ (const int delta) Date Date::operator+ (const int delta)
{ {
return Date::Date (mT + delta); return Date (mT + delta);
} }
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////