From 1f6ea2a8ad403a02b4115234574f1ce766ebe366 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 2 Apr 2017 14:03:16 -0400 Subject: [PATCH] Recurrence: Stubbed Task upgrade function --- src/recur2.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) 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)