From 5ee040f3a3f4736af141d3ebc849e0fd8933a05d Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Wed, 28 May 2014 23:48:35 -0400 Subject: [PATCH] CmdBurndown - Converted from OldDuration to Duration. --- src/commands/CmdBurndown.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/CmdBurndown.cpp b/src/commands/CmdBurndown.cpp index 060b539e2..9804e503e 100644 --- a/src/commands/CmdBurndown.cpp +++ b/src/commands/CmdBurndown.cpp @@ -32,7 +32,7 @@ #include #include #include -#include +#include #include #include #include @@ -932,7 +932,7 @@ void Chart::calculateRates (std::vector & sequence) int remaining_days = (int) (current_pending / (_fix_rate - _find_rate)); Date now; - OldDuration delta (remaining_days * 86400); + Duration delta (remaining_days * 86400); now += delta; // Prefer dateformat.report over dateformat.