From 57133140fb9b97f36307c04a2e51f46d1c6fdcf9 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 7 Jun 2015 16:00:12 -0400 Subject: [PATCH] Plumbing: Attempt at fixing the Cygwin missing std::to_string function. --- src/Task.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Task.cpp b/src/Task.cpp index b1339f8b7..01677310f 100644 --- a/src/Task.cpp +++ b/src/Task.cpp @@ -1962,7 +1962,7 @@ void Task::modify (modType type, bool text_required /* = false */) // If v is duration, add 'now' to it, else store as date. if (v.type () == Variant::type_duration) { - context.debug (label + name + " <-- '" + format ("{1}", std::to_string (v.get_duration ())) + "' <-- '" + (std::string) v + "' <-- '" + value + "'"); + context.debug (label + name + " <-- '" + format ("{1}", format (v.get_duration ())) + "' <-- '" + (std::string) v + "' <-- '" + value + "'"); Variant now; if (namedDates ("now", now)) v += now;