From 809a1ff3579eb3259a063c9235195ac093e3bab6 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Thu, 26 Jan 2017 19:55:43 -0500 Subject: [PATCH] recur: Code cleanup --- src/recur.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/recur.cpp b/src/recur.cpp index 1a445374f..3ae64d77b 100644 --- a/src/recur.cpp +++ b/src/recur.cpp @@ -183,7 +183,7 @@ bool generateDueDates (Task& parent, std::vector & allDue) // If i > until, it means there are no more tasks to generate, and if the // parent mask contains all + or X, then there never will be another task // to generate, and this parent task may be safely reaped. - std::string mask = parent.get ("mask"); + auto mask = parent.get ("mask"); if (mask.length () == allDue.size () && mask.find ('-') == std::string::npos) return false;