From 10eeb2566fd121c89cd1263b07fd36f2ea66742c Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 7 Jun 2015 15:56:02 -0400 Subject: [PATCH] Plumbing: Attempt at fixing the Cygwin missing std::to_string function. --- src/text.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/text.h b/src/text.h index 12fcd23be..0ea8f0a54 100644 --- a/src/text.h +++ b/src/text.h @@ -76,7 +76,7 @@ template const std::string format (int fmt_num, const std::string& fmt, T arg) { std::string output = fmt; - replace_positional (output, "{" + std::to_string(fmt_num) + "}", format (arg)); + replace_positional (output, "{" + format (fmt_num) + "}", format (arg)); return output; }