diff --git a/src/recur2.cpp b/src/recur2.cpp index 6fa54f0c3..8ab888d17 100644 --- a/src/recur2.cpp +++ b/src/recur2.cpp @@ -29,6 +29,16 @@ extern Context context; +//////////////////////////////////////////////////////////////////////////////// +// Given an old-style task, upgrades it perfectly. +// Note: Works for both parent and child. +static Task upgradeTask (const Task&) +{ + Task upgraded; + + return upgraded; +} + //////////////////////////////////////////////////////////////////////////////// // Calculates the due date for a new new instance N. static Datetime calculateDueN (const Task&, int)