From 3e7c9157a13e94186a56e99da4f625426912137e Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 9 Aug 2015 10:20:49 -0400 Subject: [PATCH] Task: Code cleanup --- src/Task.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Task.cpp b/src/Task.cpp index 647cf5820..67436b674 100644 --- a/src/Task.cpp +++ b/src/Task.cpp @@ -1541,7 +1541,7 @@ void Task::validate (bool applyDefault /* = true */) i = 0; ISO8601p p; if (! p.parse (value, i)) - throw std::string (format (STRING_TASK_VALID_RECUR, value)); + throw format (STRING_TASK_VALID_RECUR, value); } } }