Plumbing: Attempt at fixing the Cygwin missing std::to_string function.

This commit is contained in:
Paul Beckingham 2015-06-07 16:00:12 -04:00
parent 10eeb2566f
commit 57133140fb

View file

@ -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;